Skip to content

[Snyk] Fix for 4 vulnerabilities #490

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 14, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • samples/server/petstore/springboot-lombok-data/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Race Condition
SNYK-JAVA-ORGAPACHETOMCATEMBED-10676854
  731   Major version upgrade No Known Exploit
high severity Stack-based Buffer Overflow
SNYK-JAVA-COMFASTERXMLJACKSONCORE-10500754
  721   org.springdoc:springdoc-openapi-ui:
1.6.14 -> 1.7.0
Major version upgrade No Known Exploit
high severity Integer Overflow or Wraparound
SNYK-JAVA-ORGAPACHETOMCATEMBED-10674391
  721   Major version upgrade No Known Exploit
high severity Allocation of Resources Without Limits or Throttling
SNYK-JAVA-ORGAPACHETOMCATEMBED-10676855
  721   Major version upgrade No Known Exploit

Vulnerabilities that could not be fixed

  • Upgrade:
    • Could not upgrade com.fasterxml.jackson.core:[email protected] to com.fasterxml.jackson.core:[email protected]; Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/fasterxml/jackson/jackson-bom/2.13.5/jackson-bom-2.13.5.pom
  • Could not upgrade com.fasterxml.jackson.dataformat:[email protected] to com.fasterxml.jackson.dataformat:[email protected]; Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/fasterxml/jackson/jackson-bom/2.13.5/jackson-bom-2.13.5.pom
  • Could not upgrade com.fasterxml.jackson.datatype:[email protected] to com.fasterxml.jackson.datatype:[email protected]; Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/fasterxml/jackson/jackson-bom/2.13.5/jackson-bom-2.13.5.pom
  • Could not upgrade org.springframework.boot:[email protected] to org.springframework.boot:[email protected]; Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/org/springframework/boot/spring-boot-dependencies/2.7.15/spring-boot-dependencies-2.7.15.pom

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:

🦉 Race Condition
🦉 Allocation of Resources Without Limits or Throttling

Summary by Sourcery

Bug Fixes:

  • Bump springdoc-openapi-ui from 1.6.14 to 1.7.0 to address race condition, buffer overflow, integer overflow, and resource allocation vulnerabilities

Copy link

sourcery-ai bot commented Jul 14, 2025

Reviewer's Guide

Addresses four high-severity vulnerabilities in the springboot-lombok-data sample by bumping the springdoc OpenAPI UI version in the POM, applying a major version upgrade to close security gaps.

Flow diagram for Snyk automated vulnerability fix process

flowchart TD
    A[Snyk scans project dependencies] --> B[Identifies vulnerabilities]
    B --> C[Determines available upgrades]
    C --> D[Upgrades springdoc-openapi-ui from 1.6.14 to 1.7.0]
    D --> E[Creates PR with dependency update]
    E --> F[Project maintainers review and merge]
Loading

File-Level Changes

Change Details Files
Upgrade springdoc OpenAPI UI version to 1.7.0
  • Changed springdoc.version property from 1.6.14 to 1.7.0
samples/server/petstore/springboot-lombok-data/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
Addedmaven/​commons-io/​commons-io@​2.16.1321008910080
Addedmaven/​org.apache.maven/​maven-core@​3.9.6361008910080
Addedmaven/​org.junit.support/​testng-engine@​1.0.5361008910070
Addedmaven/​com.tngtech.archunit/​archunit@​1.3.03610089100100
Addedmaven/​junit/​junit@​4.13.2361008910090
Addedmaven/​org.junit.jupiter/​junit-jupiter-api@​5.10.2361008910070
Addedmaven/​org.hamcrest/​hamcrest@​2.23610089100100
Addedmaven/​org.apache.commons/​commons-lang3@​3.12.036998910080
Addedmaven/​org.codehaus.janino/​janino@​3.1.93610089100100
Addedmaven/​net.bytebuddy/​byte-buddy-agent@​1.12.193610089100100
Addedmaven/​org.codehaus.plexus/​plexus-classworlds@​2.7.03610089100100
Addedmaven/​org.junit.platform/​junit-platform-commons@​1.10.2361008910070
Addedmaven/​com.googlecode.lambdaj/​lambdaj@​2.3.33610089100100
Addedmaven/​org.apache.commons/​commons-compress@​1.23.0369789100100
Addedmaven/​net.bytebuddy/​byte-buddy@​1.12.193610089100100
Addedmaven/​org.objenesis/​objenesis@​1.2361008910080
Addedmaven/​com.google.inject/​guice@​5.1.0361008910080
Addedmaven/​io.airlift/​airline@​0.93610089100100
Addedmaven/​org.mockito/​mockito-core@​4.10.03610089100100
Addedmaven/​org.codehaus.plexus/​plexus-utils@​3.5.1361008910080
Addedmaven/​org.eclipse.sisu/​org.eclipse.sisu.inject@​0.9.0.M23610089100100
Addedmaven/​org.eclipse.sisu/​org.eclipse.sisu.plexus@​0.9.0.M23610089100100
Addedmaven/​org.apache.maven.resolver/​maven-resolver-impl@​1.9.18361008910080
Updatedmaven/​com.google.guava/​guava@​13.0.1 ⏵ 26.0-jre3698 +289100100
Updatedmaven/​com.google.guava/​guava@​13.0.1 ⏵ 32.0.1-jre36100 +489100100
Updatedmaven/​com.google.guava/​guava@​13.0.1 ⏵ 32.1.3-jre36100 +489100100
Addedmaven/​org.apache.maven.shared/​maven-shared-utils@​3.3.4391008910080
Addedmaven/​org.codehaus.plexus/​plexus-archiver@​4.8.04110089100100
Addedmaven/​commons-io/​commons-io@​2.244838910080
Addedmaven/​org.apache.maven/​maven-model@​3.9.6491008910080
Addedmaven/​org.codehaus.plexus/​plexus-interpolation@​1.265710089100100
Addedmaven/​org.apache.maven/​maven-compat@​3.9.6571008910080
See 45 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