Security vulnerability issue for GAM API version 5.1.0
还没有人认领这个 Issue。
评估
- 难度
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 一周以上 新手友好度 35/100
googleads/googleads-java-lib#268 · 2 条评论 · 2 个 reaction ·
查看 googleads/googleads-java-lib 的全部 Issue
相似的 Issue
-
certification
难度 1/5 1 小时以内 新手友好度 80/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's 未关闭bug ecr
难度 2/5 1-3 小时 新手友好度 75/100
-
Needs: Triage Type: Feature request
难度 2/5 1-3 小时 新手友好度 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 65/100
github/copilot-sdk#2760 ·