Skip to content

Distro backport and reachability truth / xz-utils and zlib / high

Is CVE-2022-1271 a scanner false positive on Ubuntu 24.04 and Alpine 3.20?

2 of 4 distro images report CVE-2022-1271 as open in Grype and Snyk even though the distro feed marks it fixed or not affected.

Written by Osty EngineeringPublished Updated Ed25519-signed seed preview

Scanner false positives
2 of 4 distros
Noisy scanners
Grype, Snyk
Reachable via
No analyzed call path
Severity
high

Distro backport matrix

Each row is read from the distro's own security feed and compared with the package version that ships in the current base image.

CVE-2022-1271 fix status in xz-utils and zlib across Debian 12, Ubuntu 24.04, Alpine 3.20 and RHEL 9
DistroSource packageFeed statusFixed inShipped in imageAdvisory
Debian 12 (bookworm)xz-utilsFixed by backport5.4.1-8+deb12u15.4.1-8+deb12u3DLA-5714-1
Ubuntu 24.04 (noble)xz-utilsFixed by backport5.4.5-4ubuntu5.15.4.5-4ubuntu5.3USN-6652-3
Alpine 3.20xzNot affectedNever vulnerable5.6.2-r4Alpine SecDB
RHEL 9xzFixed by backport5.2.5-15.el9_55.2.5-17.el9_5RHSA-2024:8546

Scanner disagreement matrix

How Trivy, Grype and Snyk report the same image, why they disagree with the distro feed, and the verdict Osty records after reconciling both.

CVE-2022-1271 scanner results against each distro image
DistroUpstream base vs fixTrivyGrypeSnykCause of mismatchOsty verdict
Debian 12 (bookworm)5.4.1 vs 5.2.6Reports fixedReports fixedReports fixedScanners agree with the feedFixed, scanners agree
Ubuntu 24.04 (noble)5.4.5 vs 5.2.6Reports fixedFlags vulnerableReports fixedCPE match on a binary instead of the package databaseFalse positive
Alpine 3.205.6.2 vs 5.2.6No matchReports fixedFlags vulnerableCompares the upstream version and ignores the distro backportFalse positive
RHEL 95.2.5 vs 5.2.6Reports fixedReports fixedReports fixedScanners agree with the feedFixed, scanners agree

Call-graph reachability

Native-compiler analyzers walk every entrypoint of a reference service to the vulnerable symbol. Static and bundled runtimes never load the distro library at all.

Reachability of zgrep from reference services
AnalyzerReference serviceVulnerable symbolEntrypoints walkedCall pathsVerdict
Go VTAgo-grpc-servicezgrep2630Not linked (static or bundled)
pyrightpython-fastapi-apizgrep2160Unreachable
TypeScript ASTnode-express-apizgrep2600Not linked (static or bundled)

Find every backport false positive in your fleet

Check your whole fleet for backport false positives and stale deploys with osty verify, or get a free 10-minute X-Ray that reconciles your scanner output against distro feeds.