Skip to content

[Snyk] Security upgrade org.apache.commons:commons-lang3 from 3.14.0 to 3.18.0 #514

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

officialmofabs
Copy link

@officialmofabs officialmofabs commented Jul 19, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • samples/client/petstore/java/okhttp-gson-swagger2/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Uncontrolled Recursion
SNYK-JAVA-ORGAPACHECOMMONS-10734078
  726   org.apache.commons:commons-lang3:
3.14.0 -> 3.18.0
No Known Exploit

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Summary by Sourcery

Bug Fixes:

  • Bump commons-lang3 from 3.14.0 to 3.18.0 to fix SNYK-JAVA-ORGAPACHECOMMONS-10734078

Copy link

sourcery-ai bot commented Jul 19, 2025

Reviewer's Guide

This PR upgrades the Commons Lang 3 dependency in the okhttp-gson-swagger2 sample POM from 3.14.0 to 3.18.0 to remediate an uncontrolled recursion vulnerability.

File-Level Changes

Change Details Files
Bump commons-lang3 version to address a high-severity security issue
  • Update commons-lang3 version property from 3.14.0 to 3.18.0
samples/client/petstore/java/okhttp-gson-swagger2/pom.xml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmaven/​commons-io/​commons-io@​2.5 ⏵ 2.16.132 -8100 +188910080
Addedmaven/​org.apache.maven/​maven-core@​3.9.6361008910080
Addedmaven/​com.fasterxml.jackson.datatype/​jackson-datatype-guava@​2.17.1361008910050
Addedmaven/​org.junit.support/​testng-engine@​1.0.5361008910070
Addedmaven/​com.tngtech.archunit/​archunit@​1.3.03610089100100
Addedmaven/​org.junit.jupiter/​junit-jupiter-api@​5.10.2361008910070
Addedmaven/​org.codehaus.janino/​janino@​3.1.93610089100100
Addedmaven/​com.googlecode.lambdaj/​lambdaj@​2.3.33610089100100
Addedmaven/​io.airlift/​airline@​0.93610089100100
Addedmaven/​org.mockito/​mockito-core@​4.10.03610089100100
Addedmaven/​com.github.javaparser/​javaparser-core@​3.24.93610089100100
Updatedmaven/​ch.qos.logback/​logback-classic@​1.1.11 ⏵ 1.2.1336100 +7589100100 +10
Updatedmaven/​org.codehaus.plexus/​plexus-utils@​3.0.24 ⏵ 3.5.1361008910080
Updatedmaven/​com.google.guava/​guava@​13.0.1 ⏵ 32.1.3-jre36100 +489100100
Addedmaven/​org.codehaus.plexus/​plexus-archiver@​4.8.04110089100100
Addedmaven/​org.apache.maven/​maven-compat@​3.9.6571008910080
Addedmaven/​org.testng/​testng@​7.10.266100100100100
Addedmaven/​com.github.jknack/​handlebars@​4.3.16910010010080
Addedmaven/​org.apache.maven.plugin-testing/​maven-plugin-testing-harness@​3.3.0761008910080
Addedmaven/​org.apache.maven/​maven-resolver-provider@​3.9.6781008910080
Addedmaven/​org.apache.maven.shared/​maven-verifier@​1.8.07910010010080
Addedmaven/​org.sonatype.plexus/​plexus-build-api@​0.0.78910089100100
Addedmaven/​org.apache.maven/​maven-plugin-api@​3.9.6991008910080
Addedmaven/​org.apache.maven/​maven-artifact@​3.9.6951008910080
Addedmaven/​com.googlecode.java-diff-utils/​diffutils@​1.3.09610089100100
Addedmaven/​com.tngtech.archunit/​archunit-junit5@​1.3.010010089100100
Addedmaven/​org.apache.commons/​commons-text@​1.10.0931008910080
Addedmaven/​org.slf4j/​slf4j-simple@​1.7.3610010089100100
Addedmaven/​org.slf4j/​slf4j-ext@​1.7.369310089100100
Addedmaven/​org.apache.maven.plugin-tools/​maven-plugin-annotations@​3.9.0981008910080
Addedmaven/​io.swagger.parser.v3/​swagger-parser@​2.1.2210010089100100
Addedmaven/​com.github.jknack/​handlebars-jackson2@​4.3.19710089100100
See 2 more rows in the dashboard

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants