Vulnerability in Wolfssl
CVE-2023-6935
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="-DWOLFSSL_STATIC_RSA"
The define “WOLFSSL_STATIC_RSA” 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 45.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Wolfssl — versions 3.12.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (wolfSSL/Arduino-wolfSSL, wolfSSL/wolfssl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- people.redhat.com/~hkario/marvin/ (Technical Description, technical-description, third-party-advisory)
- www.wolfssl.com/docs/security-vulnerabilities/ (Vendor Advisory)