VDB
Sign up
HIGH

GHSA-8h58-w33p-wq3g

rPGP affected by crash in message handling for deeply nested messages

Details

### Summary Previous rPGP versions could be caused to crash with a "stack overflow" when parsing messages that contain deeply nested message layers, such as messages with many signatures.

rPGP 0.19.0 resolves this issue with a more robust message handling implementation (via https://github.com/rpgp/rpgp/pull/625).

### Impact An attacker could cause applications to crash in rPGP's message parsing subsystem, when applications attempt to ingest messages.

### Attribution Discovered internally during rPGP development, using a fuzz test suite previously contributed by Christian Reitter.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/pgp
Introduced in: 0.16.0-alpha.0Fixed in: 0.19.0

Upgrade pgp to 0.19.0 or newer (ecosystem crates.io).

References