CVE-2023-6935 Marvin Attack vulnerability in SP Math All RSA
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
15 packages: 10 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/wolfssl(Debian 12) | = 5.5.4-2; = 5.5.4-2+deb12u1; = 5.5.4-2+deb12u2; = 5.5.4-2+deb12u3 +26 more | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 16.04) | = 3.4.8+dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 18.04) | = 3.10.2+dfsg-2; = 3.12.0+dfsg-1; = 3.12.2+dfsg-1; = 3.13.0+dfsg-1 +1 more | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 20.04) | = 4.1.0+dfsg-2; = 4.2.0+dfsg-1; = 4.2.0+dfsg-2; = 4.2.0+dfsg-3 +2 more | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 22.04) | = 4.6.0-3; = 5.0.0-1; = 5.1.1-1; = 5.2.0-1 +2 more | No fix listed | No fix yet |
| alpine/wolfssl(Alpine v3.19) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| alpine/wolfssl(Alpine v3.20) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| alpine/wolfssl(Alpine v3.21) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| alpine/wolfssl(Alpine v3.22) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| alpine/wolfssl(Alpine v3.23) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| alpine/wolfssl(Alpine v3.24) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 | Fixed |
| debian/wolfssl(Debian 13) | < 5.6.6-1.2 | 5.6.6-1.2 | Fixed |
| Microsoft azure linux | < 10.11.10-1 | 10.11.10-1 | Fixed |
| Microsoft cbl mariner | < 10.6.20-1 | 10.6.20-1 | Fixed |
| wolfSSL | >= 3.12.2, <= 5.6.4 | after 5.6.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 10.11.10-1 | 10.11.10-1 |
| Microsoft cbl mariner | < 10.6.20-1 | 10.6.20-1 |
| debian/wolfssl(Debian:12) | All versions | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.4-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.3~exp1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.4 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1.2 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/wolfssl(Debian:12) | = 5.8.4-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.0-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.0-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.1-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.2-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.2-1.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.2-1.2 | No fix listed |
| debian/wolfssl(Debian:13) | < 5.6.6-1.2 | 5.6.6-1.2 |
| wolfSSL | >= 3.12.2, <= 5.6.4 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | All versions | No fix listed |
| alpine/wolfssl(Alpine:v3.19) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| alpine/wolfssl(Alpine:v3.20) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| alpine/wolfssl(Alpine:v3.21) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| alpine/wolfssl(Alpine:v3.22) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| alpine/wolfssl(Alpine:v3.23) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| alpine/wolfssl(Alpine:v3.24) | >= 3.12.2, < 5.6.6-r0 | 5.6.6-r0 |
| ubuntu/wolfssl(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:16.04) | = 3.4.8+dfsg-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:18.04) | = 3.10.2+dfsg-2 | No fix listed |
| ubuntu/wolfssl(Ubuntu:18.04) | = 3.12.0+dfsg-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:18.04) | = 3.12.2+dfsg-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:18.04) | = 3.13.0+dfsg-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | = 4.1.0+dfsg-2 | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | = 4.2.0+dfsg-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | = 4.2.0+dfsg-2 | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | = 4.2.0+dfsg-3 | No fix listed |
| ubuntu/wolfssl(Ubuntu:20.04) | = 4.3.0+dfsg-2 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | = 4.6.0-3 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | = 5.0.0-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | = 5.1.1-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | = 5.2.0-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | = 5.2.0-2 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- mariadb vendor-advisory
- Debian Security Tracker CVE-2023-6935 vendor-advisory
- people.redhat.com technical-description third-party-advisory
- www.wolfssl.com vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- github.com issue-tracking