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

Upgrade org.json transitive dependency to latest #770

Closed
shashikanthgadgay0804 opened this issue Mar 1, 2023 · 1 comment · Fixed by #818
Closed

Upgrade org.json transitive dependency to latest #770

shashikanthgadgay0804 opened this issue Mar 1, 2023 · 1 comment · Fixed by #818
Assignees
Milestone

Comments

@shashikanthgadgay0804
Copy link

Describe the bug
Vulnerability in org.json package. More details here
https://nvd.nist.gov/vuln/detail/CVE-2022-45688
stleary/JSON-java#708

They have released a new version yesterday, is it possible for you to upgrade and release a new version of jjwt ?
https://github.com/stleary/JSON-java/releases/tag/20230227

@lhazlewood
Copy link
Contributor

lhazlewood commented Mar 1, 2023

Thanks for reporting this! We will upgrade and release as soon as is feasible.

But don't forget - it is always possible (and recommended) to exclude any undesirable transitive dependency and explicitly declare the newly-fixed/updated org.json dependency yourself:

Maven: https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#dependency-exclusions

Gradle: https://docs.gradle.org/current/userguide/dependency_downgrade_and_exclude.html#sec:excluding-transitive-deps

This way you (or anyone else) does not have to wait for a new JJWT release. HTH!

@lhazlewood lhazlewood changed the title Vulnerability in org.json package CVE-2022-45688 Upgrade org.json transitive dependency to version 20230227 Mar 1, 2023
@lhazlewood lhazlewood added this to the 0.12.0 milestone Sep 8, 2023
@lhazlewood lhazlewood changed the title Upgrade org.json transitive dependency to version 20230227 Upgrade org.json transitive dependency to latest Sep 8, 2023
@lhazlewood lhazlewood self-assigned this Sep 8, 2023
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 a pull request may close this issue.

2 participants