forked from DSpace/xoai
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sec): add false positive suppression for stax2-api
The origin of CVE-2022-40152 is chaotic at best. It first popped up in x-stream/xstream#304. There was a problem with Woodstox, which was resolved for version 6.4.0 in FasterXML/woodstox#160. Now the CVE is reported on the *API* package, not the implementation. We're safe here and can suppress the CPE as false positive.
- Loading branch information
1 parent
06f85e9
commit 5c79194
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd"> | ||
|
||
<suppress base="true"> | ||
<notes> | ||
<![CDATA[ | ||
False positive, as stax2-api is not the implementation and woodstox has been fixed with v6.4.0 | ||
]]> | ||
</notes> | ||
<packageUrl>pkg:maven/org.codehaus.woodstox/stax2-api@4.2.1</packageUrl> | ||
<cve>CVE-2022-40152</cve> | ||
</suppress> | ||
|
||
</suppressions> |