CVE-2024-53857 rPGP Potential Resource Exhaustion when handling Untrusted Messages
Attackers can cause resource exhaustion in the rPGP library by sending crafted messages, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-53857?
CVE-2024-53857 is a high-severity denial of service vulnerability in rpgp, published on 5 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
rPGP is a pure Rust implementation of OpenPGP. Prior to 0.14.1, rPGP allows attackers to trigger resource exhaustion vulnerabilities in rpgp by providing crafted messages. This affects general message parsing and decryption with symmetric keys.
Weakness: CWE-770
Which versions are affected by CVE-2024-53857?
2 open source packages ship an affected version, including pgp.
| Package | Affected | Fixed in |
|---|---|---|
pgp crates.io | All versions | 0.14.2 |
pgp crates.io | All versions | 0.14.2 |
How do I fix CVE-2024-53857?
Upgrade pgp to 0.14.2 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-53857 being exploited?
There is no known exploitation of CVE-2024-53857 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2024-53857, GHSA-4grw-m28r-q285.