Skip to content

curl importer keeps only the first fixed version (166 missing across 66 advisories) #2546

Backlog

Description

@Jean-Regis-M

curl_importer_v2 only records the first fixed version of each curl advisory.

curl's vuln.json has one introduced/fixed pair for every release line that got a fix. parse_curl_advisory reads events[1] and ignores the rest:

events = get_item(ranges, "events")[1] if len(get_item(ranges, "events")) > 1 else {}

I ran the parser from main (9a9c9b3) over today's feed:

count
advisories 239
fixed versions listed in the SEMVER ranges 405
fixed versions missing from fixed_version_range 166
advisories affected 66

Example, CURL-CVE-2026-107929:

  • feed: fixed in 8.14.3, 8.16.2, 8.20.2 and 8.23.0
  • imported: vers:generic/8.14.3

So for that CVE, 8.23.0 is never stored as a fix. Someone on a newer release line is only pointed at the oldest branch.

I have a small fix with a test that collects every fixed event. With it, the same comparison shows 0 missing. I'd like to open the PR for this.

This is separate from #2214, which handles the UnboundLocalError for advisories without a SEMVER range.

Activity

  1. added a commit that references this issue on Nov 28, 2026
    c93ea08
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