Skip to content

Conversation

@officialmofabs
Copy link

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • samples/openapi3/client/petstore/python/requirements.txt

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.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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:

🦉 Allocation of Resources Without Limits or Throttling

@socket-security
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/​io.springfox/​springfox-swagger-ui@​2.6.09125100100100
Addedmaven/​org.springframework.security.oauth/​spring-security-oauth2@​2.0.14.RELEASE362590100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-web@​1.5.6.RELEASE1002590100100
Addedmaven/​org.jolokia/​jolokia-core@​1.3.7367890100100
Addedmaven/​net.logstash.logback/​logstash-logback-encoder@​4.11361009010080
Addedmaven/​com.typesafe/​config@​1.3.13610090100100
Addedmaven/​org.assertj/​assertj-core@​2.6.0361009010080
Addedmaven/​org.springframework/​spring-jdbc@​4.3.10.RELEASE3610090100100
Addedmaven/​org.springframework/​spring-test@​4.3.10.RELEASE361009010080
Addedmaven/​info.cukes/​cucumber-java@​1.2.5441009075100
Addedmaven/​commons-logging/​commons-logging@​1.2491009010080
Addedmaven/​org.threeten/​threetenbp@​1.4.05110090100100
Addedmaven/​info.cukes/​cucumber-junit@​1.2.5951009075100
Addedmaven/​io.springfox/​springfox-swagger2@​2.6.08310089100100
Addedmaven/​org.slf4j/​slf4j-api@​1.7.258910090100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-test@​1.5.6.RELEASE10010089100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-security@​1.5.6.RELEASE10010089100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-remote-shell@​1.5.6.RELEASE10010089100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-jetty@​1.5.6.RELEASE10010089100100
Addedmaven/​info.cukes/​cucumber-spring@​1.2.59410089100100
Addedmaven/​org.springframework.boot/​spring-boot-starter-actuator@​1.5.6.RELEASE10010090100100
Addedmaven/​jakarta.annotation/​jakarta.annotation-api@​1.3.51001009010070
Addedmaven/​net.masterthought/​cucumber-reporting@​3.10.099100100100100
Addedmaven/​io.gatling.highcharts/​gatling-charts-highcharts@​2.3.010010010010050

View full report

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
Critical CVE: Cross-site scripting in Swagger-UI in maven io.springfox:springfox-swagger-ui

CVE: GHSA-c427-hjc3-wrfw Cross-site scripting in Swagger-UI (CRITICAL)

Affected versions: < 2.10.0

Patched version: 2.10.0

From: samples/server/petstore/java-pkmst/pom.xmlmaven/io.springfox/springfox-swagger-ui@2.6.0

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/io.springfox/springfox-swagger-ui@2.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Deserialization of Untrusted Data in Log4j in maven log4j:log4j

CVE: GHSA-2qrg-x229-3v8q Deserialization of Untrusted Data in Log4j (CRITICAL)

Affected versions: >= 1.2 <= 1.2.17

Patched version: No patched versions

From: pom.xmlmaven/com.github.tomakehurst/wiremock@1.46maven/log4j/log4j@1.2.16

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/log4j/log4j@1.2.16. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: SQL Injection in Log4j 1.2.x in maven log4j:log4j

CVE: GHSA-65fg-84f6-3jq3 SQL Injection in Log4j 1.2.x (CRITICAL)

Affected versions: <= 1.2.17

Patched version: No patched versions

From: pom.xmlmaven/com.github.tomakehurst/wiremock@1.46maven/log4j/log4j@1.2.16

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/log4j/log4j@1.2.16. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Deserialization of Untrusted Data in Apache Log4j in maven log4j:log4j

CVE: GHSA-f7vh-qwp3-x37m Deserialization of Untrusted Data in Apache Log4j (CRITICAL)

Affected versions: <= 1.2.17

Patched version: No patched versions

From: pom.xmlmaven/com.github.tomakehurst/wiremock@1.46maven/log4j/log4j@1.2.16

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/log4j/log4j@1.2.16. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Deserialization of Untrusted Data in maven org.codehaus.jackson:jackson-mapper-asl

CVE: GHSA-c27h-mcmw-48hv Deserialization of Untrusted Data in org.codehaus.jackson:jackson-mapper-asl (CRITICAL)

Affected versions: <= 1.9.13

Patched version: No patched versions

From: pom.xmlmaven/org.springframework.security.oauth/spring-security-oauth2@2.0.14.RELEASEmaven/org.codehaus.jackson/jackson-mapper-asl@1.9.13

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.codehaus.jackson/jackson-mapper-asl@1.9.13. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Remote Code Execution in Spring Framework in maven org.springframework.boot:spring-boot-starter-web

CVE: GHSA-36p3-wjmg-h94x Remote Code Execution in Spring Framework (CRITICAL)

Affected versions: < 2.5.12; >= 2.6.0 < 2.6.6

Patched version: 2.5.12

From: samples/server/petstore/java-pkmst/pom.xmlmaven/org.springframework.boot/spring-boot-starter-web@1.5.6.RELEASE

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.springframework.boot/spring-boot-starter-web@1.5.6.RELEASE. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Spring Security OAuth vulnerable to remote code execution (RCE) in maven org.springframework.security.oauth:spring-security-oauth2

CVE: GHSA-rrpm-pj7p-7j9q Spring Security OAuth vulnerable to remote code execution (RCE) (CRITICAL)

Affected versions: >= 2.3.0 < 2.3.3; >= 2.2.0 < 2.2.2; >= 2.1.0 < 2.1.2; >= 2.0.0 < 2.0.15; >= 1.0.0 <= 1.0.5

Patched version: 2.0.15

From: samples/server/petstore/java-pkmst/pom.xmlmaven/org.springframework.security.oauth/spring-security-oauth2@2.0.14.RELEASE

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.springframework.security.oauth/spring-security-oauth2@2.0.14.RELEASE. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Critical
Critical CVE: Pivotal Spring Framework contains unsafe Java deserialization methods in maven org.springframework:spring-web

CVE: GHSA-4wrc-f8pq-fpqp Pivotal Spring Framework contains unsafe Java deserialization methods (CRITICAL)

Affected versions: < 6.0.0

Patched version: 6.0.0

From: pom.xmlmaven/org.springframework.boot/spring-boot-starter-web@1.5.6.RELEASEmaven/org.springframework/spring-web@5.3.29

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.springframework/spring-web@5.3.29. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@openhands-ai
Copy link

openhands-ai bot commented Dec 13, 2025

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • OpenAPI Generator
    • Python Client: Petstore
    • Linux tests
    • Windows tests
    • .github/workflows/samples-r.yaml

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #778 at branch `snyk-fix-0a8909f242308ad168ee6cc1bfeb6993`

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

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.

3 participants