Debian Security Tracker feeder

Debian Security Tracker feeder#

debian_tracker_importer reads the complete snapshot at https://security-tracker.debian.org/tracker/data/json once an hour. Configure [feeder:debian_tracker] in config/modules.cfg, using the sample configuration, and add the source from config/website.py.sample to SOURCES_TO_SHOW.

Records are grouped by tracker issue, with all package entries preserved under packages. Their release status, fixed version (including Debian’s special "0" value), urgency, repository versions, bug number, scope and no-DSA notes are kept as supplied. No OSV affected-version ranges are inferred.

The local identifier is DEBIAN-CVE-YYYY-NNNN or DEBIAN-TEMP-…. CVE records are linked in both directions to their canonical CVE and never overwrite it. Vendor/package indexes use debian and Debian’s source package names. Package membership removed from an issue is removed from that issue’s package indexes. CVE issues that disappear from upstream remain stored: disappearance is not treated as a withdrawal. TEMP issues that disappear are deleted, since Debian drops a TEMP identifier once the issue is tracked under its CVE.

Debian supplies neither publication dates nor per-record modification dates in this snapshot. modified is the UTC time this instance observed changed data. It is shown as Change observed; no publication date or publication counter is invented. last_updates records the last successfully completed snapshot check, including a check with no changes.

The feeder is disabled in the sample modules.cfg. The snapshot is about 90 MB; it is downloaded only when Debian changed it (If-Modified-Since). A record whose release status is unchanged is skipped. When only the per-suite package versions (repositories) moved, the stored record is refreshed but keeps its modified, and is not listed as recent or republished. Writes and notifications are batched in groups of 200. A timeout, invalid snapshot or shutdown does not advance last_updates; the next run checks the whole snapshot again. Completed batches remain stored and are skipped on retry.

Run poetry run debian_tracker_importer --reimport to rebuild ingestion indexes and republish all records without changing their observation timestamps. poetry run index_vulnerabilities --source debian_tracker rebuilds derived indexes from stored records. Fulltext indexing recognizes DEBIAN-* records in both the vulnerability stream and a bulk indexing pass.

When the source is in SOURCES_TO_SHOW, it is selectable for fulltext, vendor and package searches. A search sorted by publication date lists its records by modified. The fulltext documents list packages and releases as entries, without the per-suite versions, so that the index stays within Meilisearch’s attribute limit.