GHSA-9344-p847-qm5c:
Low severity (DoS) vulnerability in sequoia-openpgp
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
6/26/2024
Updated
6/26/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
sequoia-openpgp | rust | >= 1.13.0, < 1.21.0 | 1.21.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The advisory explicitly identifies RawCertParser
as the vulnerable component and describes an infinite loop condition during certificate parsing. The 'next'
method in Rust
iterators is typically responsible for advancing through elements. The described vulnerability pattern matches a faulty iterator implementation that doesn't properly consume input bytes when encountering errors, leading to reprocessing the same data. The introduction of a specific error type (cert::raw::Error::UnuspportedCert
) in the fix suggests the loop logic was modified to handle this case and advance the stream appropriately.