Distro backport and reachability truth / libxml2 / high
Is CVE-2022-40303 a scanner false positive on Ubuntu 24.04 and RHEL 9?
2 of 4 distro images report CVE-2022-40303 as open in 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
- 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.
| Distro | Source package | Feed status | Fixed in | Shipped in image | Advisory |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | libxml2 | Fixed by backport | 2.9.14-1+deb12u1 | 2.9.14-1+deb12u9 | DSA-5627-1 |
| Ubuntu 24.04 (noble) | libxml2 | Fixed by backport | 2.9.14-2ubuntu1.1 | 2.9.14-2ubuntu1.9 | USN-7079-2 |
| Alpine 3.20 | libxml2 | Not affected | Never vulnerable | 2.12.7-r4 | Alpine SecDB |
| RHEL 9 | libxml2 | Fixed by backport | 2.9.13-9.el9_5 | 2.9.13-17.el9_5 | RHSA-2024:1157 |
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.10.3 | Reports fixed | Reports fixed | Reports fixed | Scanners agree with the feed | Fixed, scanners agree |
| Ubuntu 24.04 (noble) | 2.9.14 vs 2.10.3 | Reports fixed | Reports fixed | Flags vulnerable | Compares the upstream version and ignores the distro backport | False positive |
| Alpine 3.20 | 2.12.6 vs 2.10.3 | No match | Reports fixed | Reports fixed | Scanners agree with the feed | Fixed, scanners agree |
| RHEL 9 | 2.9.13 vs 2.10.3 | 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 | xmlParseCharData | 188 | 0 | Not linked (static or bundled) |
| pyright | python-fastapi-api | xmlParseCharData | 166 | 0 | Unreachable |
| Java bytecode | java-spring-service | xmlParseCharData | 456 | 0 | Not linked (static or bundled) |
More from the CVE backport truth index
- CVE-2022-406741 of 4 distro images report CVE-2022-40674 as open in Snyk even though the distro feed marks it fixed or not affected.
- CVE-2022-469084 of 4 distro images report CVE-2022-46908 as open in Grype and Snyk even though the distro feed marks it fixed or not affected.
- CVE-2022-490434 of 4 distro images report CVE-2022-49043 as open in Trivy, Grype 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.