REDHAT-BUG-2464122: High severity crates/sequoia-openpgp vulnerability
A vulnerability was found in sequoia-openpgp. The library incorrectly infers key flags from the public key algorithm for older certificates when a key flags subpacket is absent. Because SubpacketAreas::keyflags and ValidKeyAmalgamation::keyflags return different views of the key capabilities, the validation logic can be circumvented. An attacker can exploit this key flag confusion to bypass the back-signature check, allowing them to illegitimately bind an arbitrary subkey to their own certificate and forge signatures, completely compromising cryptographic integrity.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
The issue applies to older certificates that lack a key flags subpacket. An attacker exploits the inconsistent interpretation of key capabilities to bypass the back-signature check and bind an arbitrary subkey to their own certificate.
What is the security impact of a successful exploit?
A successful attacker can illegitimately bind a subkey and forge signatures. This completely compromises cryptographic integrity for the affected certificate-validation scenario.
Which component should be investigated for exposure?
Investigate deployments using the crates/sequoia-openpgp library, particularly where older OpenPGP certificates without key flags subpackets may be processed or trusted.