Crypt::OpenPGP versions before 1.22 for Perl decrypt messages that carry no modification detection code, so changes an attacker makes to the ciphertext alter the plaintext undetected.
Whether the plaintext is checked against a modification detection code is decided by the type of the encrypted data packet in the message. A Symmetrically Encrypted Data packet carries none, and decrypt, and handle which calls it, accept one with no option to require the code. encrypt produces this packet type unless MDC is set.
An attacker who can alter a message before it is decrypted can flip chosen bits of the plaintext, as the data is encrypted in CFB mode, and the caller gets the changed plaintext with no error.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub