Skip to content

Use Alma Linux specific advisories for Alma Linux scans #2745

@willmurphyscode

Description

@willmurphyscode

What would you like to be added:

Grype should consider Alma Linux fix information specifically when scanning Alma Linux images. (Today Grype treats Alma images identically to RHEL images).

Why is this needed:

Even though these distros are very similar by design, the actual fix versions of some packages, especially modules, are different between Alma and RHEL, resulting in some FPs when matching Alma.

This is particularly problematic when modules are involved, because the version strings for modules are different between the distros. Consider for example

  • ALSA-2025:8506 has npm-10.9.2-1.22.16.0.1.module_el8.10.0+4006+3c416519.aarch64.rpm, with +4006 in the version number.
  • RHSA-2025:8506 has npm-10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950.aarch64.rpm with +23140 in the version number.

This causes the fixed version of the Alma Linux package to appear vulnerable, resulting in false positives. Grype should fix this by using Alma Linux specific fix information when scanning Alma Linux images.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions