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

Version 3.0.0 has contains CVE because of transitive dependency #326

Open
ydrozhdzhal opened this issue Jul 25, 2024 · 5 comments
Open

Version 3.0.0 has contains CVE because of transitive dependency #326

ydrozhdzhal opened this issue Jul 25, 2024 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ydrozhdzhal
Copy link

Hi

We migrated our project to library version 3.0.0 and it still contains vulnerable transitive dependency commons-collections:commons-collections:3.2.2 (resolved through commons-beanutils:commons-beanutils:1.9.4)

Can you exclude this vulnerable dependency from next minor release?

More details: https://devhub.checkmarx.com/cve-details/Cx78f40514-81ff/

@ydrozhdzhal ydrozhdzhal added the bug Something isn't working label Jul 25, 2024
@SoltauFintel SoltauFintel added this to the 3.1.0 milestone Jul 25, 2024
@SoltauFintel SoltauFintel self-assigned this Jul 25, 2024
@SoltauFintel
Copy link
Member

Using Gradle you can exclude the dependency yourself.

commons-beanutils already changed to commons-collections 4.4. However, beanutils has no release yet. The beanutils project looks quite dead.

@ydrozhdzhal
Copy link
Author

@SoltauFintel , I know I can exclude, but not sure that it is safe to do it (can have some unexpected consequences or exceptions), but will all stuff in library work as expected without it?

@SoltauFintel
Copy link
Member

I have made a short test. Excluding commons-collections:commons-collections and adding org.apache.commons:commons-collections4:4.4 result in many test case errors. So we have to wait for a beanutils update.

@SoltauFintel SoltauFintel removed this from the 3.1.0 milestone Jul 25, 2024
@SoltauFintel SoltauFintel added wontfix This will not be worked on and removed bug Something isn't working labels Jul 25, 2024
@SoltauFintel SoltauFintel removed their assignment Jul 25, 2024
@SoltauFintel SoltauFintel reopened this Jul 25, 2024
@SoltauFintel
Copy link
Member

argh ... there's a beanutils2 ...

@SoltauFintel SoltauFintel added bug Something isn't working and removed wontfix This will not be worked on labels Jul 25, 2024
@SoltauFintel SoltauFintel added this to the 3.1.0 milestone Jul 25, 2024
@SoltauFintel SoltauFintel self-assigned this Jul 25, 2024
@SoltauFintel
Copy link
Member

It comes to a Happy End. See PR #327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants