CVE-2023-6935: Marvin Attack vulnerability in SP Math All RSA
wolfSSL SP Math All RSA implementation is vulnerable to the Marvin Attack, new variation of a timing Bleichenbacher style attack, when built with the following options to configure:
--enable-all CFLAGS="-DWOLFSSLSTATICRSA"
The define “WOLFSSLSTATICRSA” enables static RSA cipher suites, which is not recommended, and has been disabled by default since wolfSSL 3.6.6. Therefore the default build since 3.6.6, even with "--enable-all", is not vulnerable to the Marvin Attack. The vulnerability is specific to static RSA cipher suites, and expected to be padding-independent.
The vulnerability allows an attacker to decrypt ciphertexts and forge signatures after probing with a large number of test observations. However the server’s private key is not exposed.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2023-6935?
CVE-2023-6935 has been classified as a high severity vulnerability due to its potential impact on RSA security.
How do I fix CVE-2023-6935?
To fix CVE-2023-6935, it is recommended to disable the WOLFSSL_STATIC_RSA option in your configuration.
What systems are affected by CVE-2023-6935?
CVE-2023-6935 affects wolfSSL versions between 3.12.2 and 5.6.4 that have been configured with the --enable-all option and WOLFSSL_STATIC_RSA defined.
What attack does CVE-2023-6935 relate to?
CVE-2023-6935 is related to the Marvin Attack, which is a new variation of a timing attack similar to the Bleichenbacher attack.
What is the impact of CVE-2023-6935?
The impact of CVE-2023-6935 includes potential unauthorized access or decryption of sensitive information using RSA keys.