sequoia-openpgp
Affected
- introduced
1.13.0, fixed1.21.0(semver)
Fixed versions
1.21.0
Fix
- Fixed version
1.21.0cargo update -p sequoia-openpgp --precise 1.21.0
Advisory
Also known as: CVE-2024-58261, RUSTSEC-2024-0345
Low severity (DoS) vulnerability in sequoia-openpgp
There is a denial-of-service vulnerability in sequoia-openpgp, our crate providing a low-level interface to our OpenPGP implementation. When triggered, the process will enter an infinite loop.
Many thanks to Andrew Gallagher for disclosing the issue to us.
Impact
Any software directly or indirectly using the interface sequoia_openpgp::cert::raw::RawCertParser. Notably, this includes all
software using the sequoia_cert_store crate.
Details
The RawCertParser does not advance the input stream when encountering unsupported cert (primary key) versions, resulting in an infinite loop.
The fix introduces a new raw-cert-specific cert::raw::Error::UnuspportedCert.
Affected software
openpgp::cert::raw::RawCertParser. Notably, this includes all software using the sequoia_cert_store crate.Low Basis: The source's own band: LOW
1.13.0, fixed 1.21.0 (semver)1.21.0
1.21.0cargo update -p sequoia-openpgp --precise 1.21.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0