Skip to content

feat: Add AlmaLinux errata support to reduce false positives #5464

@VanitasCodes

Description

@VanitasCodes

Problem

Scanning AlmaLinux packages reports CVEs that have already been patched through backports.

Evidence

Package: curl-7.76.1-34.el9.x86_64.rpm
Source: https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/c/curl-7.76.1-34.el9.x86_64.rpm

cve-bin-tool reports: 46 CVEs (4 CRITICAL, 13 HIGH, 22 MEDIUM, 7 LOW)

Most of these are false positives - AlmaLinux backports security fixes without changing the base version number.

AlmaLinux Errata Data

AlmaLinux publishes machine-readable security advisories:

This data could be used to filter false positives, similar to existing RedHat support.

Suggested Approaches

  1. Parse errata JSON → generate VEX → use with --vex-file
  2. Add as native data source alongside NVD/OSV/RedHat
  3. Detect AlmaLinux RPMs and auto-apply errata filtering

Environment

  • cve-bin-tool 3.4.1
  • Windows 11 / Python 3.11
  • Test package: AlmaLinux 9 curl

Related

I'm willing to help implement this.

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