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

Snakeyaml vulnerability in quarkus 2.15.3 final #31181

Closed
PratikN-LM opened this issue Feb 15, 2023 · 1 comment
Closed

Snakeyaml vulnerability in quarkus 2.15.3 final #31181

PratikN-LM opened this issue Feb 15, 2023 · 1 comment
Labels
kind/bug Something isn't working triage/duplicate This issue or pull request already exists triage/invalid This doesn't seem right

Comments

@PratikN-LM
Copy link

Describe the bug

We use io.quarkus:quarkus-universe-bom:2.15.3.Final jar in our application, which uses a vulnerable artifact snakeyaml. Even the most recent snakeyaml version v1.33 has a high vulnerability that can lead to remote code execution :- https://nvd.nist.gov/vuln/detail/CVE-2022-1471

Snakeyaml hasn't offered an updated safe version so far. Since we use quarkus, snakeyaml library is transitively added as well.

Spring boot came up with their analysis on why their use-case of snakeyaml is not vulnerable, even though they use it :- spring-projects/spring-boot#33457

Is there a plan by quarkus to address this challenge/vulnerability that comes with using Snakeyaml? Please let me know if there's any update.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.15.3.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@PratikN-LM PratikN-LM added the kind/bug Something isn't working label Feb 15, 2023
@sberyozkin
Copy link
Member

@PratikN-LM There are 2 places in Quarkus where snakeyaml is used, in the Dev Services/UI bootstrap code, where a safe constructor is called and in Quarkus Config system indirectly via smallrye-config which was also patched to use a safe constructor, see #30440.

HTH

@sberyozkin sberyozkin added triage/duplicate This issue or pull request already exists triage/invalid This doesn't seem right labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/duplicate This issue or pull request already exists triage/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants