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

Please Upgrade spring-security-crypto dependency to the non-vulnerable version #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jxfzzzt
Copy link

@jxfzzzt jxfzzzt commented Jul 23, 2024

spring-security-crypto in 5.6.2 version is affected by vulnerability CVE-2022-22976. Proof of Concept:
the method `` in helper.PasswordHelper is affected by CVE-2022-22976 when the input arguments is `("password", "$2a$00$9N8N35BVs5TLqGL3pspAte5OWWA2a2aZIs.EGp7At7txYakFERMue")` , the vulnerability will be triggered, it will throws `java.lang.IllegalArgumentException: Bad number of rounds`

`spring-security-crypto` in 5.6.2 version is affected by vulnerability CVE-2022-22976.
Proof of Concept:
the method `` in `helper.PasswordHelper` is affected by CVE-2022-22976
when the input arguments is `("password", "$2a$00$9N8N35BVs5TLqGL3pspAte5OWWA2a2aZIs.EGp7At7txYakFERMue")` ,
the vulnerability will be triggered, it will throws `java.lang.IllegalArgumentException: Bad number of rounds`
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.

1 participant