-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
jackson-dataformat-xml 2.4.5 NOT detected #629
Comments
This was wrong, it was related to how dependencies are listed at the top of the report. It is related to how files are listed at the top of the report contra in the details. If it (wrongly) detects jackson-dataformat-xml in say jackson-jaxrs-base and you also have jackson-dataformat-xml with the same version as jackson-jaxrs-base, it will only list jackson-jaxrs-base at the top. You can still find jackson-dataformat-xml in the "Related dependencies" under that lib lower down in the report. |
Ok, I've been able to dig a bit deeper into this, and this is related to the regex in #517:
Because dataformat-xml is grouped under the dataformat-cbor gav for some reason, it is excluded by this regex, and thus not found, even though it is present. |
Ok, so I've been able to narrow it down further to something quite simple:
The regex is supposed to suppress something with .jaxrs in it, but for some reason also suppresses the dataformat-xml file... |
So the end result is that this seems to be somehow related to the grouping of related dependencies. |
The fix for this has been implemented in 1.4.5-SNAPSHOT and will be included in the next release. |
Awesome! Thanks! |
@jeremylong I have verified that this fix works as expected |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
From #517 I see there have been some problems where other jackson libraries are detected as vulnerable to CVE-2016-3720 which appears to only affect jackson-dataformat-xml.
Currently I'm experiencing the opposite problem. I'm using dependency check version 1.4.3, and I've tried clearing the depcheck data folder to ensure I have a fresh vulnerability database. When I scan a folder containing jackson-dataformat-xml-2.4.5.jar
Some info about the .jar:
SHA1 535f27c7e322abc54c9758b50df1594f31ee6524
Can be downloaded here (click "Download (BUNDLE)"): https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.4.5
I unzipped it and from the META-INF/maven/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/pom.xml I find:
The text was updated successfully, but these errors were encountered: