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, GHSA-9344-p847-qm5c
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 interfacesequoia_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-specificcert::raw::Error::UnuspportedCert.
Affected software
sequoia_openpgp::cert::raw::RawCertParser. Notably, this includes all software using the sequoia_cert_store crate.Not rated by the source.
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: RustSec Advisory Database · CC0-1.0