Skip to content

debian-cve: importer-deleter appears stuck on the 2% threshold; no DEBIAN-CVE record withdrawn since 2026-08-31 (e.g. DEBIAN-CVE-2026-76844 still lists zlib) #6406

Open

Description

@yuki-kogetsu

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

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:

  • handleDeleteBucket in go/internal/importer/bucket.go returns without deleting anything ("Cowardly refusing to delete missing records (threshold exceeded)") when len(toDelete) / len(vulnsInDatastore) * 100 >= threshold.
  • deployment/clouddeploy/gke-workers/environments/oss-vdb/importer-deleter.yaml runs 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions