Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update and declare commons-codec dependency #2195

Merged
merged 1 commit into from Nov 29, 2022

Conversation

alicejli
Copy link
Contributor

This PR manually declares the commons-codec version to 1.15.

It was discovered that commons-codec-1.11.jar has a a medium vulnerability (https://sca.analysiscenter.veracode.com/vulnerability-database/security/sca/vulnerability/sid-22742/summary). This vulnerability does not have a CVE and it is related to Insecure Input Validation and encoding.

This is an indirect dpendency that the API client library uses indirectly by using Apache HttpClient.
Any version of codec v1.13+ should have the fix for this vulnerability.

@alicejli alicejli requested a review from a team as a code owner November 29, 2022 17:03
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Nov 29, 2022
Copy link
Member

@suztomo suztomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Can you add comment about the change?

@@ -203,6 +203,11 @@
<artifactId>google-api-client-xml</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add source code comment why it's declared? Such as "org.apache.httpcomponents:httpclient:4.5.x declares an outdated version of commons-codec"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants