CVE-2023-6935 Affecting wolfssl package, versions <5.6.6-1.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-WOLFSSL-6139098
- published 23 Dec 2023
- disclosed 9 Feb 2024
Introduced: 23 Dec 2023
CVE-2023-6935 Open this link in a new tabHow to fix?
Upgrade Debian:unstable wolfssl to version 5.6.6-1.2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream wolfssl package and not the wolfssl package as distributed by Debian.
See How to fix? for Debian:unstable relevant fixed versions and status.
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.