Integer Underflow Vulnerability in Fort Validator Package
Summary
DEBIAN-CVE-2024-56375: An integer underflow was discovered in Fort 1.6.3 and 1.6.4 before 1.6.5. Affects fort-validator versions < 1.6.5-1. Fixed in 1.6.5-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Fort Validator is a tool used in the RPKI (Resource Public Key Infrastructure) ecosystem to validate the authenticity and integrity of routing information. It ensures that only legitimate routes are propagated in the network, thereby enhancing security. The package is crucial for maintaining trust in the RPKI system, but it is susceptible to vulnerabilities that can be exploited by malicious actors.
Vulnerability Detail
An integer underflow was discovered in Fort versions 1.6.3 and 1.6.4 before 1.6.5. This vulnerability arises when a malicious RPKI repository serves a Manifest RPKI object with an empty fileList. Fort attempts to dereference this empty array during a shuffle operation, leading to an out-of-bounds access due to the integer underflow. This results in an infinite loop, causing the application to crash as it gets stuck trying to shuffle a non-existent array.
How To Fix
Minimum fixed version
1.6.5-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade fort-validator
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, avoid using RPKI repositories that are not trusted or ensure that the Manifest RPKI objects served do not contain empty fileLists. This can help mitigate the risk of triggering the vulnerability until the package is updated.
Conclusion
The integer underflow vulnerability in the Fort Validator package poses significant risks to network security by potentially allowing crashes through malicious RPKI objects. It is crucial to update to the patched version 1.6.5-1 or later to mitigate these risks effectively.
See every vulnerability recorded for fort-validator →
FAQ
An integer underflow occurs when an operation attempts to create a numeric value that is lower than the minimum representable value for that data type, often leading to unexpected behavior or crashes.
A malicious actor can exploit this vulnerability by serving a specially crafted Manifest RPKI object with an empty fileList, causing Fort to enter an infinite loop and crash.
If exploited, this vulnerability can lead to application crashes, potentially disrupting network operations and compromising the integrity of routing information.
Yes, you can use Vulert, which monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.
If you cannot update the package right away, consider implementing the suggested workaround by avoiding untrusted RPKI repositories or ensuring that the Manifest RPKI objects do not contain empty fileLists.
References
Related vulnerabilities
Recent vulnerabilities recorded for fort-validator.