Guides / Basics

Unfixed vulnerabilities: will_not_fix, affected, and what you can do

intermediateUpdated 26 Nov 2026988 words

In a scan of the python:3.12.8-slim image, 382 of 581 findings did not have a fixed version. Updating does not make them go away, and new images of the same distribution carry many of them too. The status of a finding and the tracker of the distribution often settle whether it matters. Record the decision once, so the finding does not come back as noise every day.

What the statuses mean

Scanners take the status from the distribution or the advisory. Trivy uses these values:

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. That is a good default for daily reports, as long as somebody reviews the unfixed critical and high ones now and then.

Step 1: read why

The reason is often in the tracker, and often it settles the question. 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. The CRITICAL finding cannot be exploited 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 matters for you

Ask the questions from prioritising vulnerabilities:

  • Is it on the CISA KEV list? Then it matters, fix or no 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?

Most unfixed findings on servers and images end here: low impact, unreachable code, or local bugs in tools nobody runs.

Step 3: mitigate when it matters

If the answer is "this could hurt us" and there is no update, reduce the risk another way:

  • 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 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. Sometimes another package or the upstream release (from a vendor repository) is the only way. Weigh this against losing distribution updates.

Step 4: record the decision

A finding you looked at and accepted should not come back every day, and it should come back when 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 YAML ignore file is marked experimental in the Trivy documentation; the plain .trivyignore format (one ID per line, optionally exp:2027-03-01) is the stable one.

For decisions you want to share with others, for example as the publisher of an image, VEX (Vulnerability Exploitability eXchange) documents 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

Unfixed is a state, not a verdict. Distributions release fixes later, a <no-dsa> issue gets a fix in the next point release, and a low-rated bug can become exploited. A daily scan that reports changes (newly fixed, newly on KEV) catches this without rereading the whole list.

Sources

Check your servers every day

The agent of Patchbrief reports the packages and settings of a server once a day; the digest names what to fix first.

Start free