Add vuln-scan: Dependency-Check 13.0.0 vs Trivy 0.76.2 vs OSV-Scanner 2.7.1
Same Maven project scanned three ways (pom.xml, SBOM, jars): captured output, false-positive evidence, suppression files with expiry, CI gate, -Pfixed profile. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f32c088174
commit
7c677a39d2
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
|
||||
<!-- Same rule as dc-suppressions.xml but the review date has passed. -->
|
||||
<suppress until="2026-01-01Z">
|
||||
<notes>expired on purpose</notes>
|
||||
<packageUrl regex="true">^pkg:maven/com\.fasterxml\.jackson\.core/jackson-databind@.*$</packageUrl>
|
||||
<cve>CVE-2023-35116</cve>
|
||||
</suppress>
|
||||
</suppressions>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
|
||||
<!-- CVE-2026-34479 is in the Log4j 1-to-2 bridge (Log4j1XmlLayout). This project has neither
|
||||
log4j-1.2-api nor that class (see output/07-false-positives.txt). Review again on 2027-03-01. -->
|
||||
<suppress until="2027-03-01Z">
|
||||
<notes>Advisory is for the log4j-1.2-api bridge, which this project does not use.</notes>
|
||||
<packageUrl regex="true">^pkg:maven/org\.apache\.logging\.log4j/log4j-(api|core)@.*$</packageUrl>
|
||||
<cve>CVE-2026-34479</cve>
|
||||
</suppress>
|
||||
<!-- Disputed by the vendor in the NVD record itself. -->
|
||||
<suppress until="2027-03-01Z">
|
||||
<notes>NVD marks CVE-2023-35116 as disputed; the jackson-databind maintainers reject it.</notes>
|
||||
<packageUrl regex="true">^pkg:maven/com\.fasterxml\.jackson\.core/jackson-databind@.*$</packageUrl>
|
||||
<cve>CVE-2023-35116</cve>
|
||||
</suppress>
|
||||
</suppressions>
|
||||
@@ -0,0 +1,4 @@
|
||||
[[IgnoredVulns]]
|
||||
id = "GHSA-h383-gmxw-35v2"
|
||||
ignoreUntil = 2026-01-01
|
||||
reason = "expired on purpose"
|
||||
@@ -0,0 +1,5 @@
|
||||
# osv-scanner config. IgnoredVulns entries carry an optional expiry.
|
||||
[[IgnoredVulns]]
|
||||
id = "GHSA-h383-gmxw-35v2" # CVE-2026-34479: advisory is for the log4j-1.2-api bridge
|
||||
ignoreUntil = 2027-03-01
|
||||
reason = "Log4j1XmlLayout is not in this project's jars (output/07-false-positives.txt)"
|
||||
@@ -0,0 +1,4 @@
|
||||
vulnerabilities:
|
||||
- id: CVE-2026-34479
|
||||
statement: expired on purpose
|
||||
expired_at: 2026-01-01
|
||||
@@ -0,0 +1,5 @@
|
||||
# Trivy ignore file (YAML form supports an expiry date). Used with --ignorefile.
|
||||
vulnerabilities:
|
||||
- id: CVE-2026-34479
|
||||
statement: Advisory is for the log4j-1.2-api bridge, which this project does not use.
|
||||
expired_at: 2027-03-01
|
||||
Reference in New Issue
Block a user