Skip to content

[Snyk] Fix for 1 vulnerabilities #533

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 24, 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/server/petstore/jaxrs-cxf/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Allocation of Resources Without Limits or Throttling
SNYK-JAVA-ORGAPACHECXF-10755067
  641   org.apache.cxf:cxf-rt-frontend-jaxrs:
3.5.9 -> 3.5.11
org.apache.cxf:cxf-rt-ws-policy:
3.5.9 -> 3.5.11
org.apache.cxf:cxf-rt-wsdl:
3.5.9 -> 3.5.11
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

Upgrade CXF dependencies in the Petstore JAX-RS CXF sample POM to address a high severity vulnerability and fix description escaping

Bug Fixes:

  • Fix high severity resource allocation vulnerability (SNYK-JAVA-ORGAPACHECXF-10755067) by upgrading CXF dependencies

Enhancements:

  • Bump org.apache.cxf modules (cxf-rt-frontend-jaxrs, cxf-rt-ws-policy, cxf-rt-wsdl) from 3.5.9 to 3.5.11

Documentation:

  • Correct escaping of special characters in the POM description

Copy link

sourcery-ai bot commented Jul 24, 2025

Reviewer's Guide

This PR resolves a high-severity CXF vulnerability by upgrading the CXF dependencies to version 3.5.11 and corrects XML escaping in the project description.

File-Level Changes

Change Details Files
Upgrade CXF dependency version to address vulnerability
  • Updated Maven cxf-version property from 3.5.9 to 3.5.11
samples/server/petstore/jaxrs-cxf/pom.xml
Fix XML escaping in project description
  • Replaced encoded quote entity with escaped double quote and backslash in description
samples/server/petstore/jaxrs-cxf/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/​com.fasterxml.jackson.datatype/​jackson-datatype-joda@​2.17.1361008910050
Addedmaven/​com.fasterxml.jackson.datatype/​jackson-datatype-jsr310@​2.17.1361008910050
Addedmaven/​com.fasterxml.jackson.datatype/​jackson-datatype-guava@​2.17.1361008910050
Addedmaven/​com.google.android/​android@​4.1.1.43610089100100
Addedmaven/​com.fasterxml.jackson.datatype/​jackson-datatype-joda@​2.15.2361008910050
Addedmaven/​com.github.joschi.jackson/​jackson-datatype-threetenbp@​2.15.2361008910080
Addedmaven/​com.google.code.gson/​gson@​2.10.13610089100100
Addedmaven/​com.github.ben-manes.caffeine/​caffeine@​2.9.33610089100100
Addedmaven/​com.googlecode.lambdaj/​lambdaj@​2.3.33610089100100
Addedmaven/​com.sun.xml.bind/​jaxb-impl@​2.3.3361008910060
Addedmaven/​com.fasterxml.jackson.datatype/​jackson-datatype-jsr310@​2.15.2361008910050
Addedmaven/​com.github.javaparser/​javaparser-core@​3.24.93610089100100
Addedmaven/​com.github.joschi.jackson/​jackson-datatype-threetenbp@​2.9.10361008910080
Addedmaven/​com.google.guava/​guava-testlib@​32.1.3-jre3610089100100
Updatedmaven/​com.google.guava/​guava@​13.0.1 ⏵ 32.1.3-jre36100 +489100100
Updatedmaven/​com.fasterxml.jackson.core/​jackson-core@​2.1.2 ⏵ 2.15.236 -20100 +188910070 -30
Updatedmaven/​com.fasterxml.jackson.core/​jackson-annotations@​2.1.2 ⏵ 2.15.236 -291008910070 -30
Updatedmaven/​com.fasterxml.jackson.core/​jackson-annotations@​2.1.2 ⏵ 2.17.136 -291008910070 -30
Updatedmaven/​com.fasterxml.jackson.core/​jackson-databind@​2.1.2 ⏵ 2.15.236100 +758910070 -30
Updatedmaven/​com.fasterxml.jackson.core/​jackson-databind@​2.1.2 ⏵ 2.17.136100 +758910070 -30
Updatedmaven/​ch.qos.logback/​logback-classic@​1.1.11 ⏵ 1.2.1336100 +7589100100 +10
Updatedmaven/​ch.qos.logback/​logback-classic@​1.1.11 ⏵ 1.3.1336100 +7589100100 +10
Updatedmaven/​ch.qos.logback/​logback-classic@​1.1.11 ⏵ 1.4.1436100 +7589100100 +10
Updatedmaven/​ch.qos.logback/​logback-core@​1.1.11 ⏵ 1.4.143698 +7389100100
Addedmaven/​com.fasterxml.jackson.jaxrs/​jackson-jaxrs-base@​2.15.2441008910050
Addedmaven/​com.fasterxml.jackson.dataformat/​jackson-dataformat-xml@​2.17.1541008910050
Addedmaven/​com.github.jknack/​handlebars@​4.3.16910010010080
Addedmaven/​com.github.tomakehurst/​wiremock-jre8@​2.35.172100100100100
Addedmaven/​com.squareup.okhttp3/​logging-interceptor@​4.12.010010089100100
Addedmaven/​com.github.scribejava/​scribejava-apis@​8.3.39610089100100
Addedmaven/​com.fasterxml.jackson.jaxrs/​jackson-jaxrs-json-provider@​2.17.1971008910050
See 10 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