Skip to content

GHSA-c7ph-f7jm-xv4w rPGP's integrity protection of encrypted data was not always checked

MediumCVSS 6.3
Published
Updated
Exploit status
No public exploit known

Description

Summary

For some messages, rPGP returned incorrectly decrypted data without signaling that integrity protection was invalid.

Details

When decrypting SEIPD (Symmetrically Encrypted and Integrity Protected Data Packet), rPGP previously did not under all circumstances report the absence of valid integrity protection to callers of the library.

Impact

While the resulting invalid decryption output is not attacker controlled, its contents may be a security concern if an attacker can gain access to it.

Attribution

Discovered internally in the course of rPGP development work.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io pgp(crates.io) >= 0.16.0-alpha.0, < 0.19.0 0.19.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io pgp(crates.io) >= 0.16.0-alpha.0, < 0.19.0 0.19.0

References