Security vulnerability issue for GAM API version 5.1.0
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java
- 領域
- api, build-system, security
調査の方向性
まず com.google.api-ads:dfp-axis:5.1.0 と org.apache.httpcomponents:httpclient:4.0.1 の Maven 依存関係パスを調査し、要求された 4.5.3 バージョンと比較します。脆弱な推移的バージョンが解決されなくなり、Java クライアントライブラリのビルドとテストが引き続き成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi Team,
Creating this issue based on the below conversion in Google Ad Manager API Forum. Please review the conversation and fix the issue. Thanks!
Conversion link - https://groups.google.com/g/google-doubleclick-for-publishers-api/c/SWJtKCQY04M
Hi Team,
We are using GAM API for automation testing and synk is used to check the vulnerability/issues in the code. After upgrading the API version from 4.18.0 to 5.1.0 for below dependencies, getting few security risks. Can you please review and fix those issues?. Please let us know if any other suggestions.
Dependency used:
com.google.api-ads ads-lib 5.1.0 com.google.api-ads dfp-axis 5.1.0Vulnerability details:
org.apache.httpcomponents:httpclient Information Exposure
Fixed in
org.apache.httpcomponents:httpclient@4.1
Exploit maturity
NO KNOWN EXPLOIT
Show less detail
Detailed paths
Introduced through: com.paramount.qetech:qetech-ads...@1.0.32 › com.google.api-ads:dfp-...@4.19.0 › com.google.api-ads:ads-li...@4.19.0 › com.google.http-client:google-ht...@1.23.0 › org.apache.httpcomponents:httpc...@4.0.1
Security information
More details available in above conversation link.
- org.apache.httpcomponents:httpclient Directory Traversal
Introduced through
com.google.api-ads:dfp-...@4.19.0
Fixed in
org.apache.httpcomponents:httpc...@4.5.3
Exploit maturity
NO KNOWN EXPLOIT
Show less detail
Detailed paths
Introduced through: com.paramount.qetech:qetech-ads...@1.0.32 › com.google.api-ads:dfp-...@4.19.0 › com.google.api-ads:ads-li...@4.19.0 › com.google.http-client:google-ht...@1.23.0 › org.apache.httpcomponents:httpc...@4.0.1
Security information
More details available in above conversation link.
Response from Google Ad manager support :
Hi,
Thank you for contacting the Ad Manager API support team.
Based on the information provided, I understand that after upgrading the API version, you are noticing vulnerability/issues in the code. Could you please provide us with the following details.
UserService.getCurrentUser (if unable, you may just provide the email address used to make API requests).
Complete SOAP request and response logs from API (SOAP logging must be enabled).
Network code.
Client library which you are using.
You can send the details via Reply privately to the author option, or direct private reply to this email.
Reply for above response:
Hi,
Thank you for the response.
To add more clarity to this issue, we are NOT noticing any vulnerabilities/issues in the code. Tests are working fine. But, in my organization, we have Snyk tool to highlight the security vulnerability issues in client libraries/dependency used. This Snyk tool is highlighting above issues in client library file 'com.google.api-ads:dfp-axis@5.1.0 '. This is Java - Maven client library
com.google.api-ads:dfp-axis@5.1.0 client library is using another dependency with version 'org.apache.httpcomponents:httpclient@4.0.1' which having issues. Snyk tool is suggesting that version need to be upgraded to 'org.apache.httpcomponents:httpclient@4.5.3' to fix these issues. Please review and let us know suggestions.
After this GAM API support team asked to create an issue here. Please let us know if more information is required on this.
- 主要言語
- Java
- スター
- 234
- フォーク
- 360
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleads/googleads-java-lib のほかの issue
-
googleads/googleads-java-lib#284 · コメント 3 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
googleads/googleads-java-lib#283 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
googleads/googleads-java-lib#273 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
googleads/googleads-java-lib#269 ·
-
enhancement P2
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
googleads/googleads-java-lib#268 · コメント 2 件 · リアクション 2 件 ·
googleads/googleads-java-lib の issue をすべて見る
似ている issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1152 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jenkinsci/blueocean-plugin#5417 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objectionary/eo-graphs#75 ·