Skip to content

End of life

A component you ship belongs to a release cycle that has reached the end of its support, or will within 90 days. After that date, its maintainers publish no more security fixes for it.

A component in your software bill of materials (SBOM) belongs to a release cycle that endoflife.date lists, and that cycle is:

  • past end of life: its end-of-life date is today or earlier, in UTC. When endoflife.date publishes no date, its own end-of-life flag decides. The finding has the severity high, and the text report shows it as [WARN], or as [FAIL] when the eol rule fails the build.
  • within 90 days of it: its end-of-life date is in the next 90 days. The finding has the severity info, shows as [INFO] and never fails the build.
Terminal window
$ witnyx check bom.json
Witnyx release security check — legacy-app 1.0.0
[PASS] No actively exploited vulnerabilities found
[WARN] 1 component past end of life
Spring Framework 6.0 reached end of life on 2024-06-30 -> upgrade to 7.0.10 (org.springframework:spring-core 6.0.23)

The text and Markdown reports give one line per product and cycle, however many of its components the SBOM lists. The line names the product and cycle as endoflife.date does, the date and the upgrade, then up to three components in brackets, with and N more when there are more. Its wording changes with the facts:

  • is past end of life (date not published) when there is no date;
  • ; paid extended support until and a date, when endoflife.date lists paid support that has not ended;
  • -> no supported release listed when no supported cycle is known;
  • reaches end of life on and the date, for a cycle within 90 days.

The JSON and SARIF reports keep one finding per component, because each component is its own evidence. Each finding’s ID is eol: followed by endoflife.date’s product ID, @ and the cycle, and its details hold the dates and the source:

Terminal window
$ witnyx check bom.json --agent
"id" : "eol:[email protected]",
"kind" : "eol",
"severity" : "high",
"details" : {
"product" : "Spring Framework",
"productId" : "spring-framework",
"cycle" : "6.0",
"eolFrom" : "2024-06-30",
"oldestSupported" : "7.0",
"source" : "https://endoflife.date/spring-framework"
},

The dates come from endoflife.date. Witnyx downloads its data for every product in one request, so endoflife.date learns nothing about your components. A downloaded copy is used for 24 hours, and when a download fails, a cached copy up to 7 days old is used and a note says so. witnyx cache update downloads it ahead of time (see cache update), and witnyx version shows how old the cached copy is (see version).

Only components with a package URL that has a version are matched. Witnyx looks up the package URL without its version, in lower case, in this order:

  1. Witnyx’s own exact entries, such as pkg:maven/org.hibernate/hibernate-core for Hibernate ORM;
  2. the package URLs that endoflife.date lists for its products;
  3. Witnyx’s own prefix entries, the longest first, such as pkg:maven/org.springframework/spring-* for every Spring Framework artifact.

A few of Witnyx’s entries name no product: they keep artifacts that are versioned on their own out of a broader prefix.

The cycle is the one whose number is the longest whole-segment prefix of the version: 6.0.23 is in cycle 6.0, and 2.14.1 is in cycle 2 when endoflife.date lists 2 but not 2.14. A leading v is ignored, and cycles without a number, such as lts, are never matched.

A component with no product, or whose version matches no cycle, gets no finding. The absence of a finding does not show that a component is supported.

endoflife.date is an optional source. When neither a download nor a usable cached copy is available, the end-of-life check is skipped, a note says so, and the check stays complete. On a machine whose cache is empty, an offline run shows it:

Terminal window
$ witnyx check bom.json --offline
Note: endoflife-date: No cached end-of-life data available for offline use; end-of-life check skipped

The count is then left out, never shown as 0: the Markdown report’s table says not checked, and the JSON summary has no eol key. In the JSON report’s dataSources, endoflife-date has the status error and the same message. Because the source is optional, --strict does not treat the skipped check as incomplete, and the eol rule cannot fail the build without data.

Move the component to a supported release cycle. The fix names the latest release of the oldest supported cycle newer than yours: -> upgrade to 7.0.10, with oldestSupported set to 7.0 in the JSON report. When no newer cycle is supported, it names the oldest supported cycle; when none is supported, the line says -> no supported release listed, and the way out is to replace the component. When the repository in --repo-dir has manifest files that likely declare the component, the line names them, as it does for actively exploited vulnerabilities.

For a cycle within 90 days of its end, plan the upgrade before the date. Paid extended support is shown while endoflife.date lists it as running, but the finding stays. An end-of-life finding cannot be assessed as not affected: assessments apply to vulnerabilities only.

Not by default: a component past end of life is a [WARN]. With the rule eol in --fail-on or in failOn (see failOn), any component past end of life fails the build with exit code 1:

Terminal window
$ witnyx check bom.json --fail-on eol
[FAIL] Build failed: --fail-on eol
[FAIL] 1 component past end of life
Spring Framework 6.0 reached end of life on 2024-06-30 -> upgrade to 7.0.10 (org.springframework:spring-core 6.0.23)

A cycle within 90 days of its end never fails the build. Rules you set replace the default, so keep exploited in the list: --fail-on exploited,eol.

See also: Choose when the build fails, Work offline and Complete and incomplete checks.

Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.