Distro backport and reachability truth / PAM, shadow and sudo / medium
Is CVE-2023-4641 a scanner false positive on Debian 12, Ubuntu 24.04 and RHEL 9?
3 of 4 distro images report CVE-2023-4641 as open in Trivy, 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
- Trivy, Grype, Snyk
- Reachable via
- No analyzed call path
- Severity
- medium
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) | shadow | Fixed by backport | 4.13-1+deb12u2 | 4.13-1+deb12u3 | DLA-5678-1 |
| Ubuntu 24.04 (noble) | shadow | Fixed by backport | 4.13-3ubuntu6.2 | 4.13-3ubuntu6.3 | USN-6652-2 |
| Alpine 3.20 | shadow | Not affected | Never vulnerable | 4.15.1-r4 | Alpine SecDB |
| RHEL 9 | shadow-utils | Fixed by backport | 4.9-8.el9_4 | 4.9-9.el9_5 | RHSA-2023:2505 |
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) | 4.13 vs 4.14.0 | Flags vulnerable | Flags vulnerable | Reports fixed | CPE match on a binary instead of the package database | False positive |
| Ubuntu 24.04 (noble) | 4.13 vs 4.14.0 | Reports fixed | Reports fixed | Flags vulnerable | Compares the upstream version and ignores the distro backport | False positive |
| Alpine 3.20 | 4.15.1 vs 4.14.0 | No match | Reports fixed | Reports fixed | Scanners agree with the feed | Fixed, scanners agree |
| RHEL 9 | 4.9 vs 4.14.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 | gpasswd | 249 | 0 | Not linked (static or bundled) |
| pyright | python-fastapi-api | gpasswd | 239 | 0 | Unreachable |
More from the CVE backport truth index
- CVE-2023-48061 of 4 distro images report CVE-2023-4806 as open in Snyk even though the distro feed marks it fixed or not affected.
- CVE-2023-49112 of 4 distro images report CVE-2023-4911 as open in Snyk even though the distro feed marks it fixed or not affected.
- CVE-2023-51563 of 4 distro images report CVE-2023-5156 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.