Cloudanix VulnDB

CVE-2024-1543

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Aug 29, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A cryptographic protection flaw in the wolfSSL library can let attackers in specialized secure computing environments bypass safeguards and potentially steal encryption keys.

Exploitation
Local Privilege
Attacker needs
High Privilege
Complexity
High
Impact
Data Exposure
Component
Library
Class
Cryptographic Weakness
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The side-channel protected T-Table implementation in wolfSSL up to 5.6.5 only defends against cache-line resolution attackers; in environments such as Intel SGX an attacker can obtain per-instruction sub-cache-line resolution and defeat the protection, enabling extraction of secret material during cryptographic operations.

Why it matters to the business

Organizations using wolfSSL inside SGX or similar high-resolution side-channel environments face risk of cryptographic key compromise, which can lead to loss of confidentiality for encrypted data and sessions without immediate operational disruption.

How an attack unfolds

An attacker first obtains code execution or observation capability inside the same SGX enclave or equivalent controlled environment, then monitors memory access patterns at sub-cache-line granularity during T-Table-based cryptographic operations to recover key material that the cache-line-level protection was intended to hide.

How to fix it

Upgrade wolfSSL to the commit 66596ad9e1d7efa8479656872cf09c9c1870a02e or a later release that removes the vulnerable T-Table implementation; rebuild and redeploy all dependent applications.

How to confirm the fix worked

Verify that running wolfSSL binaries or libraries report a version or commit hash at or after 66596ad9e1d7efa8479656872cf09c9c1870a02e; re-test cryptographic operations inside SGX with known side-channel tools to confirm absence of leakage.

Typical attack path

  1. Gain co-location or enclave access with the target wolfSSL process
  2. Trigger or observe repeated cryptographic operations using the vulnerable T-Table implementation
  3. Collect high-resolution cache or memory access traces
  4. Apply statistical analysis to extract secret keys or plaintext

How to detect it

Monitor SGX enclave logs and performance counters for anomalous cache-access patterns during cryptographic calls; correlate with process execution of wolfSSL-based binaries; post-exploitation indicators are limited because the attack is passive and leaves no persistent artifacts.

What your security team should do

  • Immediately inventory all uses of wolfSSL inside SGX or comparable enclaves
  • Prioritize upgrade to the fixed commit across all affected builds
  • Review cryptographic usage patterns to determine exposure to side-channel threats
  • Apply defense-in-depth controls such as constant-time implementations where possible

The record

The side-channel protected T-Table implementation in wolfSSL up to version 5.6.5 protects against a side-channel attacker with cache-line resolution. In a controlled environment such as Intel SGX, an attacker can gain a per instruction sub-cache-line resolution allowing them to break the cache-line-level protection. For details on the attack refer to: https://doi.org/10.46586/tches.v2024.i1.457-500

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 wolfssl 0 No fix
Debian:12 wolfssl 0 No fix
Debian:13 wolfssl 0 5.6.6-1.2
Debian:14 wolfssl 0 5.6.6-1.2
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