CVE-2024-56375

NameCVE-2024-56375
DescriptionAn integer underflow was discovered in Fort 1.6.3 and 1.6.4 before 1.6.5. A malicious RPKI repository that descends from a (trusted) Trust Anchor can serve (via rsync or RRDP) a Manifest RPKI object containing an empty fileList. Fort dereferences (and, shortly afterwards, writes to) this array during a shuffle attempt, before the validation that would normally reject it when empty. This out-of-bounds access is caused by an integer underflow that causes the surrounding loop to iterate infinitely. Because the product is permanently stuck attempting to overshuffle an array that doesn't actually exist, a crash is nearly guaranteed.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
fort-validator (PTS)bullseye (security), bullseye1.5.3-1~deb11u1fixed
bookworm1.5.4-1fixed
trixie1.6.4+20240930-1vulnerable
sid1.6.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
fort-validatorsourcebullseye(not affected)
fort-validatorsourcebookworm(not affected)
fort-validatorsource(unstable)1.6.5-1

Notes

[bookworm] - fort-validator <not-affected> (Vulnerable code introduced later in 1.6.3)
[bullseye] - fort-validator <not-affected> (Vulnerable code introduced later in 1.6.3)
https://github.com/NICMx/FORT-validator/commit/17f095210553182b0e0a28ee6fd41b0d3c8fc1d3 (1.6.5)
https://github.com/NICMx/FORT-validator/issues/154

Search for package or bug name: Reporting problems