Unfixed vulnerabilities: will_not_fix, affected, and what you can do
In a scan of the python:3.12.8-slim image, 382 of 581 findings did not have a fixed version. An update does not remove them, and new images of the same distribution carry many of them too. The status of a finding and the tracker of the distribution often show whether it needs work. Record the decision once, so the finding does not come back in every daily report.
What the statuses mean
Trivy takes the status from the distribution or the advisory:
| Status | Meaning |
|---|---|
affected |
the package is affected and no fix has been released yet |
fix_deferred |
affected, and the distribution may fix it later |
will_not_fix |
affected, and the distribution does not intend to fix it, usually because the impact is low or the code is not used |
end_of_life |
the package contains the component, but nobody checked, because the release is out of support |
under_investigation |
the distribution has not decided yet (Trivy does not report these by default) |
not_affected |
not affected on this platform (not reported) |
The distributions use their own words. The Debian security tracker marks issues as <no-dsa> (minor, may be fixed in a point release), <postponed> (fix later) or <ignored> (will not be fixed), with a short reason. Red Hat uses states such as "Affected", "Will not fix", "Not affected" and "Out of support scope"; for this zlib CVE it lists RHEL 8 and 9 as not affected and RHEL 6 and 7 as out of support scope. The data of the Ubuntu CVE tracker uses needs-triage, needed, deferred and ignored, among others; the Ubuntu website shows labels such as "Needs evaluation", "Vulnerable, fix deferred" and "Ignored".
--ignore-unfixed in Trivy hides all of these and shows only findings with a fix. Use it for daily reports, and have somebody review the unfixed critical and high findings every few months.
Step 1: read why
The tracker usually gives the reason. Example from the scan: CVE-2023-45853, rated CRITICAL by the NVD, status will_not_fix for zlib1g on Debian 12. The Debian tracker says:
[bookworm] - zlib <ignored> (contrib/minizip not built and src:zlib not producing binary packages)
The bug is in MiniZip, example code that ships in the zlib source. Debian does not build it into zlib1g; the separate minizip package got a fix. Nobody can exploit the CRITICAL finding through the package installed on the system.
Other common reasons: the vulnerable feature is compiled out, the bug needs a configuration nobody uses, the attacker would already need root, or the vulnerability is disputed.
Step 2: decide whether it affects you
The questions from prioritising vulnerabilities:
- Is it on the CISA KEV list? Then it needs action, with or without a fix.
- Is the vulnerable code reachable: is the service running, is the feature on, does untrusted input reach it?
- Is it remote, or does it need local access?
- What would an attacker gain on this system?
For many unfixed findings on servers and images, the answers end the matter: the impact is low, the code is unreachable, or the bug is local to a tool nobody runs.
Step 3: mitigate when it affects you
If the finding could hurt you and there is no update, reduce the risk another way:
| Measure | How |
|---|---|
| Remove the package | Images and servers carry many packages they do not need. apt-get purge <package> && apt-get autoremove, or a smaller base image (a slim or distroless image, or a multi-stage build that leaves build tools behind), removes the findings for good. |
| Turn off the feature | Disable the module, the protocol or the option the advisory names. |
| Limit who can reach it | A firewall rule, binding to localhost, or authentication in front of the service. |
| Contain it | Run the service as an unprivileged user, in a container without extra capabilities, with AppArmor or SELinux confinement. |
| Replace it | Another package or the upstream release (from a vendor repository). Weigh this against losing the updates of the distribution. |
Step 4: record the decision
A finding you looked at and accepted should stay out of the daily report until the situation changes. Record the CVE, the package, the reason, who decided and a review date.
With Trivy, .trivyignore.yaml keeps this next to the code:
vulnerabilities:
- id: CVE-2023-45853
purls:
- "pkg:deb/debian/zlib1g"
statement: "MiniZip is not built into zlib1g on Debian (security tracker: ignored). Review with the next base image."
expired_at: 2027-03-01
trivy image --ignorefile .trivyignore.yaml --show-suppressed <image>
The finding moves to a "Suppressed Vulnerabilities" table with the statement, and returns after expired_at. The purls entry limits the exception to that package. The Trivy documentation marks the YAML ignore file as experimental; the plain .trivyignore format (one ID per line, optionally exp:2027-03-01) is the stable one.
To share decisions with others, for example as the publisher of an image, write VEX (Vulnerability Exploitability eXchange) documents. They state "not affected" with a standard justification such as vulnerable_code_not_in_execute_path. Trivy reads OpenVEX, CycloneDX and CSAF VEX with --vex.
Step 5: watch for changes
Distributions release fixes later, a <no-dsa> issue gets a fix in the next point release, and attackers can start using a low-rated bug. A daily scan that reports changes (newly fixed, newly on KEV) shows this without rereading the whole list.
Sources
- Trivy documentation: filtering by status, ignore files, VEX (status meanings,
--ignore-unfixed,.trivyignore.yamlfields, experimental note) - Debian security tracker: CVE-2023-45853 and the tracker documentation
- Red Hat security data for CVE-2023-45853 (fix states per product) and Ubuntu CVE statuses (website labels); ubuntu-cve-tracker README (status values of the tracker data)
- Trivy 0.75.0 scan of the file system of
python:3.12.8-slimand the ignore file above, tested on 2026-11-26
Check your servers every day
The Vulnpocalypse collector reports the packages and settings of a server once a day, and the digest lists what to fix, most urgent first.
Vulnpocalypse