Skip to content

endoflife.date (Public Release-Cycle Catalogue) Executor

Category: Software Composition Analysis Script: endoflife_date.py Integration: REST API (public, no auth) Faraday Plugin: Raw JSON Website: https://endoflife.date

Description

Checks the software versions you run against the public endoflife.date catalogue and flags the ones whose release cycle is past its End-Of-Life date. Each product becomes a Faraday host, and each installed version that is already EOL becomes a vulnerability with its EOL date, latest release and upgrade guidance.

Prerequisites

  • Network access from the agent to https://endoflife.date (or to a mirror, see ENDOFLIFE_HOST). No account or API key is needed.
  • The endoflife.date slugs of the products to check (e.g., nodejs, python, debian) and the versions you have deployed

Configuration

Environment Variables (Setup)

Variable Required Description
ENDOFLIFE_HOST No Base URL of the endoflife.date API, to use a mirror or offline cache (default: https://endoflife.date)

Execution Arguments

Parameter Type Mandatory Description
PRODUCTS string Yes Comma-separated endoflife.date product slugs (e.g., nodejs,python,debian). Common aliases are accepted (node, golang, python3, openjdk, ubuntu-linux, debian-linux).
INSTALLED_VERSIONS string No Comma-separated product=version pairs with the deployed version of each product (e.g., nodejs=18.0.0,python=3.8.0,debian=10). Products without an entry produce no vulnerabilities.
EOL_MIN_SEVERITY string No Minimum severity to import: info, low, medium, high or critical (default: info)

YAML Configuration Example

executors:
  endoflife_date:
    repo_executor: endoflife_date.py
    max_size: 65536
    varenvs: {}
    params:
      PRODUCTS:
        mandatory: true
        type: string
        base: string
      INSTALLED_VERSIONS:
        mandatory: false
        type: string
        base: string
      EOL_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Normalizes each product slug in PRODUCTS and calls GET {ENDOFLIFE_HOST}/api/{product}.json to get its release cycles
  2. Matches the installed version to a cycle: exact cycle, then shorter version prefixes (3.11.4 → 3.11 → 3), then the cycle's latest release
  3. If the matched cycle's EOL date is in the past (or the cycle is marked EOL without a date), creates one vulnerability:
    • Name: [SCA] <product> <version> is past End-Of-Life
    • Severity: based on how long ago the cycle reached EOL: under 30 days low, under 1 year medium, under 2 years high, 2 years or more critical. EOL without a date is high.
    • Status: always open
    • Resolution: upgrade to a supported release line, with the latest release of the cycle
    • References: https://endoflife.date/<product> and the cycle's release notes link, if any
  4. Drops vulnerabilities below EOL_MIN_SEVERITY and sends the hosts to Faraday

Notes

  • Each product becomes one host with IP 0.0.0.0 and hostname <product>@<installed version> (or just <product> when no version is given).
  • Products with no INSTALLED_VERSIONS entry, with a version that matches no cycle, or with a cycle that is not EOL yet are still created as hosts, but without vulnerabilities.
  • Unknown product slugs (HTTP 404) and failed requests are written to the agent log and skipped.
  • An unrecognized EOL_MIN_SEVERITY value falls back to info.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use EOL_MIN_SEVERITY to filter by severity.