Repository navigation
Description
Describe the bug
DEBIAN-CVE-* records whose source object has been removed from gs://debian-osv/debian-cve-osv/ (by the converter's --sync-deletions) are not being withdrawn. They remain live in the API and in the gs://osv-vulnerabilities/Debian/ export, which produces false positives for Debian images.
The gap is currently 2.39% of live debian-cve records, which is above the --delete-threshold-pct=2 set for the production importer-deleter, so I suspect every run is refusing to delete for this source.
To Reproduce
Example: DEBIAN-CVE-2026-76844
- CVE-2026-76844 is a webpack-dev-middleware path traversal. The Debian Security Tracker associated it with zlib on 2026-11-05 (security-tracker commit 646f9a16, "Add CVE-2026-76844/zlib") and removed the association on 2026-11-16 (b3a5871d, "Remove associations in CVE-2026-76844"). The tracker now shows
NOT-FOR-US: webpack-dev-middleware, and https://security-tracker.debian.org/tracker/data/json has no entry for it. - https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-76844.json returns 404, so the converter side is correct.
- https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-76844 still returns the record (modified 2026-11-14, no
withdrawn) with zlib affected in Debian:12 (no fixed version), Debian:13 and Debian:14. It is also in https://storage.googleapis.com/osv-vulnerabilities/Debian/DEBIAN-CVE-2026-76844.json andDebian/all.zip. - Result: scanners report a CVSS 3.1 High (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N) webpack-dev-middleware issue against zlib on every Debian 12 image, and on Debian 13/14 images with zlib older than the listed fix.
Scale (checked 2026-11-19, ~15:20 UTC)
Comparing a listing of gs://debian-osv/debian-cve-osv/ with Debian/all.zip (generation of 2026-11-19 14:03 UTC):
| count | |
|---|---|
Objects in debian-cve-osv/ |
61,423 |
| Non-withdrawn DEBIAN-CVE records in the export | 62,926 |
| Non-withdrawn records with no source object | 1,503 (2.39%) |
| ...of which list only Debian:11 | 1,172 |
| Withdrawn DEBIAN-CVE records in the export | 339 |
The withdrawn timestamps of those 339 records run from 2025-11-04 to 2026-08-31, typically several per week. The most recent is DEBIAN-CVE-2026-55655 at 2026-08-31T20:00:13Z. Nothing has been withdrawn since.
More examples, all 404 in the source bucket but live (no withdrawn) on api.osv.dev:
- Debian:11 only (bullseye is no longer in the tracker JSON): DEBIAN-CVE-2002-0825, DEBIAN-CVE-2019-2422
- CVE no longer in the tracker JSON; the corresponding CVE-* records were withdrawn on OSV on 2026-11-17, the DEBIAN-CVE-* ones were not: DEBIAN-CVE-2026-74259, DEBIAN-CVE-2026-105398
- Tracker now marks every release as not affected (fixed_version "0"): DEBIAN-CVE-2024-7708
- Tracker now lists the package for sid only, record still says Debian:14: DEBIAN-CVE-2003-0761, DEBIAN-CVE-2026-57192
Expected behaviour
Records whose source object was removed from the bucket are withdrawn by importer-deleter, as they were until 2026-08-31.
Additional context
From reading the code, not from logs:
handleDeleteBucketingo/internal/importer/bucket.goreturns without deleting anything ("Cowardly refusing to delete missing records (threshold exceeded)") whenlen(toDelete) / len(vulnsInDatastore) * 100 >= threshold.deployment/clouddeploy/gke-workers/environments/oss-vdb/importer-deleter.yamlruns the importer with--delete --delete-threshold-pct=2.- 1,503 / 62,926 = 2.39%. Since legitimate deletions keep accumulating, the ratio will not drop below 2% on its own.
My guess at the trigger is bullseye leaving the tracker JSON around its end of LTS (2026-08-31), which removed about 1,170 Debian:11-only records at once.
Could you check the importer-deleter logs for "Cowardly refusing to delete missing records (threshold exceeded)" with source=debian-cve? If that is what is happening, a one-off run with a higher threshold for this source should clear the backlog.
Related: #4161 (same symptom in 2025-10, addressed on the converter side by #4242), #2730 (threshold lowered to 2%).
Activity