CVE-2024-58261

NameCVE-2024-58261
DescriptionThe sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of "Reading a cert: Invalid operation: Not a Key packet" messages for RawCertParser operations that encounter an unsupported primary key type.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1074352

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-sequoia-openpgp (PTS)bullseye1.1.0-3fixed
bookworm1.12.0-2fixed
forky, trixie2.0.0-2fixed
sid2.0.0-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-sequoia-openpgpsourcebullseye(not affected)
rust-sequoia-openpgpsourcebookworm(not affected)
rust-sequoia-openpgpsource(unstable)1.21.0-11074352

Notes

[bookworm] - rust-sequoia-openpgp <not-affected> (Vulnerable code not present)
[bullseye] - rust-sequoia-openpgp <not-affected> (Vulnerable code not present)
https://rustsec.org/advisories/RUSTSEC-2024-0345.html
https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106
Fixed by: https://gitlab.com/sequoia-pgp/sequoia/-/commit/81fa1d8440116712365106bca7bd81b46349d9c0 (openpgp/v1.21.0)

Search for package or bug name: Reporting problems