Skip to content

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.

CVE-2022-40303 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+deb12u12.9.14-1+deb12u9DSA-5627-1
Ubuntu 24.04 (noble)libxml2Fixed by backport2.9.14-2ubuntu1.12.9.14-2ubuntu1.9USN-7079-2
Alpine 3.20libxml2Not affectedNever vulnerable2.12.7-r4Alpine SecDB
RHEL 9libxml2Fixed by backport2.9.13-9.el9_52.9.13-17.el9_5RHSA-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.

CVE-2022-40303 scanner results against each distro image
DistroUpstream base vs fixTrivyGrypeSnykCause of mismatchOsty verdict
Debian 12 (bookworm)2.9.14 vs 2.10.3Reports fixedReports fixedReports fixedScanners agree with the feedFixed, scanners agree
Ubuntu 24.04 (noble)2.9.14 vs 2.10.3Reports fixedReports fixedFlags vulnerableCompares the upstream version and ignores the distro backportFalse positive
Alpine 3.202.12.6 vs 2.10.3No matchReports fixedReports fixedScanners agree with the feedFixed, scanners agree
RHEL 92.9.13 vs 2.10.3Reports 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 xmlParseCharData from reference services
AnalyzerReference serviceVulnerable symbolEntrypoints walkedCall pathsVerdict
Go VTAgo-grpc-servicexmlParseCharData1880Not linked (static or bundled)
pyrightpython-fastapi-apixmlParseCharData1660Unreachable
Java bytecodejava-spring-servicexmlParseCharData4560Not 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.