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.
| Distro | Source package | Feed status | Fixed in | Shipped in image | Advisory |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | libxml2 | Fixed by backport | 2.9.14-1+deb12u7 | 2.9.14-1+deb12u9 | DSA-5881-1 |
| Ubuntu 24.04 (noble) | libxml2 | Fixed by backport | 2.9.14-2ubuntu1.7 | 2.9.14-2ubuntu1.9 | USN-6596-2 |
| Alpine 3.20 | libxml2 | Fixed by backport | 2.12.6-r3 | 2.12.7-r4 | secdb:v3.20/main/libxml2@2.12.6-r3 |
| RHEL 9 | libxml2 | Fixed by backport | 2.9.13-15.el9_5 | 2.9.13-17.el9_5 | RHSA-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.
| Distro | Upstream base vs fix | Trivy | Grype | Snyk | Cause of mismatch | Osty verdict |
|---|---|---|---|---|---|---|
| Debian 12 (bookworm) | 2.9.14 vs 2.13.0 | Reports fixed | Flags vulnerable | Flags vulnerable | Compares the upstream version and ignores the distro backport | False positive |
| Ubuntu 24.04 (noble) | 2.9.14 vs 2.13.0 | Reports fixed | Flags vulnerable | Flags vulnerable | Compares the upstream version and ignores the distro backport | False positive |
| Alpine 3.20 | 2.12.6 vs 2.13.0 | Reports fixed | Reports fixed | Reports fixed | Scanners agree with the feed | Fixed, scanners agree |
| RHEL 9 | 2.9.13 vs 2.13.0 | Reports fixed | Reports fixed | Flags vulnerable | Compares the upstream version and ignores the distro backport | False 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.
| Analyzer | Reference service | Vulnerable symbol | Entrypoints walked | Call paths | Verdict |
|---|---|---|---|---|---|
| Go VTA | go-grpc-service | xmlSAX2GetEntity | 180 | 0 | Not linked (static or bundled) |
| pyright | python-fastapi-api | xmlSAX2GetEntity | 164 | 0 | Unreachable |
| Java bytecode | java-spring-service | xmlSAX2GetEntity | 485 | 0 | Not linked (static or bundled) |
More from the CVE backport truth index
- CVE-2024-454912 of 4 distro images report CVE-2024-45491 as open in Snyk even though the distro feed marks it fixed or not affected.
- CVE-2024-70064 of 4 distro images report CVE-2024-7006 as open in Grype and Snyk even though the distro feed marks it fixed or not affected.
- CVE-2024-81762 of 4 distro images report CVE-2024-8176 as open in Trivy and Snyk even though the distro feed marks it fixed or not affected.
- CVE dossiersScanners compare upstream version strings; distros ship fixes as backports. Each dossier reconciles the distro security feed, three scanners and a native call graph, then signs the result with Ed25519.