CVE-2024-2236: Libgcrypt: vulnerable to marvin attack
A timing based side-channel exists in the libgcrypt RSA implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve successful decryption an attacker would have to be able to send a large number of trial messages for decryption. The vulnerability affects all RSA padding modes: PKCS#1 v1.5, RSA-OAEP, and RSASVE.
Other sources
A timing-based side-channel flaw was found in libgcrypt's RSA implementation. This issue may allow a remote attacker to initiate a Bleichenbacher-style attack, which can lead to the decryption of RSA ciphertexts.
— IBM
Libgcrypt is vulnerable to the Marvin attack.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
azurelinux/libgcryptto a version that resolves this vulnerability.Fixed in 0:1.11.1-9.azl4 - Upgrade
Upgrade
ubuntu/libgcrypt20to a version that resolves this vulnerability.Fixed in 1.9.4-3ubuntu3.3 - Upgrade
Upgrade
ubuntu/libgcrypt20to a version that resolves this vulnerability.Fixed in 1.9.4-3ubuntu3.3+Fips1 - Upgrade
Upgrade
ubuntu/libgcrypt20to a version that resolves this vulnerability.Fixed in 1.10.3-2ubuntu0.2 - Upgrade
Upgrade
ubuntu/libgcrypt20to a version that resolves this vulnerability.Fixed in 1.12.0-2ubuntu1.1+Fips2 - Upgrade
Upgrade
ubuntu/libgcrypt20to a version that resolves this vulnerability.Fixed in 1.12.0-2ubuntu1.1 - Compensating control
Mitigate the risk of Marvin/Bleichenbacher-style RSA decryption by reducing or rate-limiting the ability of a remote attacker to send a large number of trial ciphertexts (e.g., apply network-layer rate limiting/traffic controls for the service performing RSA decryption).
Event History
Frequently Asked Questions
What is the severity of CVE-2024-2236?
CVE-2024-2236 is considered a high severity vulnerability due to its potential for plaintext recovery via a timing-based side-channel attack.
How do I fix CVE-2024-2236?
To fix CVE-2024-2236, update the GNU libgcrypt library to the latest patched version provided by the developers.
Who is affected by CVE-2024-2236?
CVE-2024-2236 affects users of the GNU libgcrypt library, specifically in its RSA implementation.
What type of attack does CVE-2024-2236 facilitate?
CVE-2024-2236 facilitates a Bleichenbacher-style attack that can lead to plaintext recovery.
Can CVE-2024-2236 be exploited remotely?
Yes, CVE-2024-2236 can potentially be exploited remotely if an attacker can send multiple trial messages across a network.