Vulnerability record
Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify
Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify.
The signature packet's type is read only to decide whether the data is canonicalised as text and is never checked against the document signature types. The digest covers the supplied data followed by the signature's own trailer, so a user ID certification, subkey binding, direct key or revocation signature verifies over a document consisting of the key and user ID material it covers.
An attacker holding any signature a key has issued, such as the self-certification on a published key,…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources