Skip to content

Distro backport and reachability truth / libxml2 / critical

Is CVE-2024-40896 a scanner false positive on Debian 12, Ubuntu 24.04 and RHEL 9?

3 of 4 distro images report CVE-2024-40896 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
3 of 4 distros
Noisy scanners
Grype, Snyk
Reachable via
No analyzed call path
Severity
critical

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-2024-40896 fix status in libxml2 across Debian 12, Ubuntu 24.04, Alpine 3.20 and RHEL 9
DistroSource packageFeed statusFixed inShipped in imageAdvisory
Debian 12 (bookworm)libxml2Fixed by backport2.9.14-1+deb12u72.9.14-1+deb12u9DSA-5881-1
Ubuntu 24.04 (noble)libxml2Fixed by backport2.9.14-2ubuntu1.72.9.14-2ubuntu1.9USN-6596-2
Alpine 3.20libxml2Fixed by backport2.12.6-r32.12.7-r4secdb:v3.20/main/libxml2@2.12.6-r3
RHEL 9libxml2Fixed by backport2.9.13-15.el9_52.9.13-17.el9_5RHSA-2024:6474

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-2024-40896 scanner results against each distro image
DistroUpstream base vs fixTrivyGrypeSnykCause of mismatchOsty verdict
Debian 12 (bookworm)2.9.14 vs 2.13.0Reports fixedFlags vulnerableFlags vulnerableCompares the upstream version and ignores the distro backportFalse positive
Ubuntu 24.04 (noble)2.9.14 vs 2.13.0Reports fixedFlags vulnerableFlags vulnerableCompares the upstream version and ignores the distro backportFalse positive
Alpine 3.202.12.6 vs 2.13.0Reports fixedReports fixedReports fixedScanners agree with the feedFixed, scanners agree
RHEL 92.9.13 vs 2.13.0Reports fixedReports fixedFlags vulnerableCompares the upstream version and ignores the distro backportFalse positive

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 xmlSAX2GetEntity from reference services
AnalyzerReference serviceVulnerable symbolEntrypoints walkedCall pathsVerdict
Go VTAgo-grpc-servicexmlSAX2GetEntity1800Not linked (static or bundled)
pyrightpython-fastapi-apixmlSAX2GetEntity1640Unreachable
Java bytecodejava-spring-servicexmlSAX2GetEntity4850Not 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.