Other known vulnerabilities
A component you ship has a known vulnerability that is not on CISA’s list of actively exploited vulnerabilities. The report counts these findings by severity and shows the five most severe. Witnyx is not a full vulnerability scanner.
What Witnyx found
Section titled “What Witnyx found”OSV reports a vulnerability for the version of a component in your software bill of materials (SBOM), and none of the vulnerability’s CVE IDs is in CISA’s Known Exploited Vulnerabilities catalogue. A vulnerability that is in the catalogue is reported as actively exploited instead, and is not counted here.
In the text report, these findings follow one line of counts:
Other known vulnerabilities:, then the count of each severity, most severe first, separated by·, such as2 high · 1 medium. A severity without findings is left out.- One line per finding: its ID, the component’s name and version, the severity in brackets, then
-> upgrade tothe lowest fixed version above yours, or-> no fixed version known yet. - When there are more than five, a last line:
(5 most severe shown; Witnyx is not a full vulnerability scanner: https://docs.witnyx.dev/findings/vulnerability).
When there is none, the text report has no such section.
The Markdown report shows the counts only, in the row “Other known vulnerabilities” of its table, and 0 when there is none.
The JSON report counts them in summary.vulnerabilities, always under the same five severities, in order.
In this run, OSV answered with one vulnerability, Log4Shell (CVE-2021-44228), and CISA lists it, so it counts under exploited and every other count is 0:
$ witnyx check bom.json --agent "summary" : { "exploited" : 1, "eol" : 0, "vulnerabilities" : { "critical" : 0, "high" : 0, "medium" : 0, "low" : 0, "unknown" : 0 },The JSON counts include findings pending human review and leave out findings assessed as not affected.
The text and Markdown reports list both kinds of assessment separately and leave them out of their counts.
In SARIF, these findings use the rule vulnerability.
Severity
Section titled “Severity”A finding’s severity comes from its OSV record:
- The advisory’s own severity label, as GitHub’s advisories give it:
CRITICAL,HIGH,MODERATE(shown asmedium) orLOW. - Without a label, the highest CVSS v3.0 or v3.1 base score in the record, rated as CVSS v3.1 rates it: 9.0 and above is
critical, 7.0 to 8.9high, 4.0 to 6.9medium, and anything lowerlow. - Without either,
unknown.
When OSV has several records for one flaw, the most severe record decides, and on a tie the one that names a fixed version.
One finding per flaw
Section titled “One finding per flaw”OSV often holds several records for one flaw, such as a GitHub advisory and a CVE record.
Records whose IDs or aliases overlap, directly or through another record, are one finding.
Its ID is the CVE ID when the flaw has one, else the GitHub advisory ID (GHSA-...), else the OSV ID.
The JSON report lists the other IDs in details.aliases.
The five most severe
Section titled “The five most severe”Findings are sorted by severity (critical, high, medium, low, then unknown), then by ID, then by package URL.
The report keeps the first five and leaves out the rest: the text report lists at most five lines, and the JSON and SARIF reports hold at most five of these findings.
The counts still include every finding.
Findings with an assessment are always kept, as evidence.
Where the data comes from
Section titled “Where the data comes from”OSV (osv.dev) is the only source. Witnyx sends it each component’s package URL, with its version, in batches of up to 1,000, and nothing else. OSV answers with the known vulnerabilities for those versions and the versions that fix them. CISA’s catalogue then decides which of them belong on the Actively exploited page.
OSV is asked live on every check; it has no offline copy.
With --offline, or when OSV gives no answer, the check is incomplete and these counts are left out: the Markdown report’s table says not checked, and the JSON summary has no vulnerabilities key.
A component without a package URL or without a version cannot be looked up; the text report’s last lines count them as not checked.
How to fix it
Section titled “How to fix it”- Upgrade the component to the version in the fix. It is the lowest version above yours that OSV lists as fixed; check the advisory, which may recommend a later one.
- When the line says
-> no fixed version known yet, follow the advisory, athttps://osv.dev/vulnerability/followed by the ID, or remove or replace the component. - If your product cannot reach the vulnerable code, a person can record that it is not affected, in
notAffectedin.witnyx.yml(see the configuration file). An entry may name the finding’s ID or any of its aliases.
The report shows the five most severe findings only. For a full list of known vulnerabilities, run a vulnerability scanner as well.
When it fails the build
Section titled “When it fails the build”Not by default: the default rule, exploited, counts only actively exploited vulnerabilities.
Two rules of --fail-on (or failOn in .witnyx.yml, see failOn) count by severity:
criticalfails the build on any vulnerability with the severitycritical;highfails it on any vulnerability with the severitycriticalorhigh.
Both count actively exploited vulnerabilities too, which always have the severity critical.
End-of-life findings have a severity as well, but these two rules ignore them.
Vulnerabilities with the severity medium, low or unknown never fail the build.
Every finding counts, not only the five the report shows.
Here high fails the build on the actively exploited finding, and the headline names the rule:
$ witnyx check bom.json --fail-on high[FAIL] Build failed: --fail-on high[WARN] 1 actively exploited vulnerabilityThe warning follows because exploited is not among the rules.
--fail-on exploited,high names both.
A finding assessed as not affected never fails the build; one pending human review does.
See also: Mark a finding “not affected”, Choose when the build fails, Data sources, Work offline and Privacy.
Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.