CVE-2024-1545
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Aug 29, 2024
CISA due date
—
Cloudanix analysis
A flaw in a widely used encryption library lets an attacker on the same computer steal secret keys or read protected messages by subtly altering memory during decryption.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Privilege Gain
- Component
- Library
- Class
- Memory Corruption
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
Fault injection into RsaPrivateDecryption allows an attacker sharing the same host to corrupt the RsaKey structure via Rowhammer, enabling recovery of plaintext or private key material during RSA operations.
Why it matters to the business
Successful exploitation can expose encrypted data and allow privilege escalation on systems that use WolfSSL for TLS or cryptographic services, increasing risk of data breaches in environments with shared hardware.
How an attack unfolds
An attacker with co-residency on the same Linux or Windows host triggers RSA private-key decryption in a victim WolfSSL process and uses Rowhammer to flip bits in the in-memory RsaKey structure, causing faulty computation that leaks secret information.
How to fix it
Upgrade WolfSSL to the commit 8970ff4c34034dbb3594943d11f8c9d4c5512bd5 or later; rebuild and redeploy all dependent applications; verify the updated library is loaded at runtime.
How to confirm the fix worked
Confirm the running wolfssl binary or shared library reports a commit at or after 8970ff4c34034dbb3594943d11f8c9d4c5512bd5; re-execute any internal cryptographic test suites that exercise RSA decryption paths.
Typical attack path
- Achieve co-residency on the same physical host as the target process
- Force or wait for the victim to perform RSA private-key decryption
- Execute Rowhammer memory-access pattern targeting the RsaKey structure
- Observe faulty decryption output to recover plaintext or key material
- Escalate privileges or decrypt further traffic using recovered secrets
How to detect it
Look for unusual Rowhammer-related memory access patterns or repeated RSA decryption failures in application logs; correlate with process co-location events on shared hosts; no public exploit artifacts are known.
What your security team should do
- Prioritize patching WolfSSL instances that perform RSA private-key operations on multi-tenant or shared-hardware systems
- Isolate cryptographic workloads from untrusted code where possible
- Monitor for Rowhammer mitigation features in hardware and hypervisor configurations
- Review downstream dependents and schedule upgrades within standard change windows
The record
Fault Injection vulnerability in RsaPrivateDecryption function in wolfssl/wolfcrypt/src/rsa.c in WolfSSL wolfssl5.6.6 on Linux/Windows allows remote attacker co-resides in the same system with a victim process to disclose information and escalate privileges via Rowhammer fault injection to the RsaKey structure.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | wolfssl | 0 | No fix |
| Debian:12 | wolfssl | 0 | No fix |
| Debian:13 | wolfssl | 0 | 5.7.0-0.3 |
| Debian:14 | wolfssl | 0 | 5.7.0-0.3 |
| Ubuntu:16.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:18.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:20.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:22.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:24.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:24.10 | wolfssl | 0 | No fix |
| Ubuntu:25.04 | wolfssl | 0 | No fix |
| Ubuntu:25.10 | wolfssl | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | wolfssl | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | wolfssl | 0 | No fix |
Related vulnerabilities
- CVE-2024-2881 Fault Injection vulnerability in wc_ed25519_sign_msg function in… Also affects wolfssl
- CVE-2024-1543 The side-channel protected T-Table implementation in wolfSSL up to version 5.6.5 protects… Also affects wolfssl
- CVE-2024-5814 A malicious TLS1.2 server can force a TLS1.3 client with downgrade capability to use a… Also affects wolfssl
- CVE-2024-1544 Generating the ECDSA nonce k samples a random number r and then truncates this randomness… Also affects wolfssl
- CVE-2024-0901 Remotely executed SEGV and out of bounds read allows malicious packet sender to crash or… Also affects wolfssl
- CVE-2023-6936 In wolfSSL prior to 5.6.6, if callback functions are enabled (via the WOLFSSL_CALLBACKS… Also affects wolfssl
- CVE-2023-6937 wolfSSL prior to 5.6.6 did not check that messages in one (D)TLS record do not span key… Also affects wolfssl
- CVE-2017-13099 wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher… Also affects wolfssl