Dependency maven:org.apache.commons:commons-lang3:3.17.0 is vulnerable
Brought to you by:
aruckerjones,
sconway
In version com.opencsv:opencsv:5.12.0 there is dependency:
Dependency maven:org.apache.commons:commons-lang3:3.17.0 is vulnerable
I get warning CVE-2025-48924
5.3
Transitive Insufficient Information
Any plans to update library version?
Hello Peter
What version opencsv are you using? The latest release version 5.12.0 uses 3.18.0
https://central.sonatype.com/artifact/com.opencsv/opencsv/dependencies
Please let me know if there are any issues with that version of commons-lang3. If so the current snapshot version uses 3.20.0 but have not released it yet because all it has is dependency updates.
I use com.opencsv:opencsv:5.12.0
In Intellij I see this warning:
Sorry Peter this must be an issue on the build on your project. Because 5.12.0 does use commons-lang3 3.18.0 as you can see from https://central.sonatype.com/artifact/com.opencsv/opencsv/dependencies.
If you use maven to build your projects (and I apologize I do not know enough about gradles to know the equivalent off hand) run the following on your project:
mvn dependency:tree
and from what you are telling me it should show 3.17 instead of 3.18. This is because another dependency pulled in 3.17.0 as a transitive dependency. If so then run
mvn dependency:tree -Dverbose
and that will show you which dependency is pulling commons-lang3 3.17.0.
To fix the issue you neeed to add a dependencyManagement section in your pom.xml file.
And that is maven's way of saying "I am not telling you to use commons-lang3 but if you do you will use version 3.18.0.