Cyber Resilience

CVE-2024-2881

Wolfssl 5.6.6

Published
30 August 2024
Modified
04 September 2024
CVSS Score v3.1 6.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
EPSS Score 0.0046 38th percentile
Risk Priority 51 floored blend · peak EPSS

Summary

CVE-2024-2881 is a medium-severity Unchecked Return Value (CWE-252) vulnerability in Wolfssl Wolfssl. Its CVSS base score is 6.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Fault Injection vulnerability in wc_ed25519_sign_msg function in wolfssl/wolfcrypt/src/ed25519.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 ed25519_key structure.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1221 Template Injection Stealth
Adversaries may create or modify references in user document templates to conceal malicious code or force authentication attempts.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1674 Input Injection Execution
Adversaries may simulate keystrokes on a victim’s computer by various means to perform any type of action on behalf of the user, such as launching the command interpreter using keyboard shortcuts, typing an inline script to be executed,…
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-1545Same product: Linux Linux Kernel
CVE-2023-49328Same product: Linux Linux Kernel
CVE-2025-47867Same product: Microsoft Windows
CVE-2023-20858Same product: Microsoft Windows
CVE-2023-23003Same product: Linux Linux Kernel
CVE-2023-52687Same product: Linux Linux Kernel
CVE-2026-23301Same product: Linux Linux Kernel
CVE-2023-52797Same product: Linux Linux Kernel
CVE-2024-42067Same product: Linux Linux Kernel
CVE-2023-52680Same product: Linux Linux Kernel

Affected Assets

wolfssl
wolfssl
5.6.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V11.2.5
  • V1.2.1
  • V1.2.3
  • V1.2.5

Mitigating Controls (NIST 800-53 r5) AI

Access enforcement directly stops unauthorized software from reaching hardware registers or side-channel interfaces.

Least privilege restricts which processes may invoke power/clock or other hardware-control functions.

Least functionality disables or removes unnecessary software interfaces that expose hardware features.

Developer testing and code evaluation can discover instances where return values are ignored.

Hardware-enforced write protection and procedures limit software modification of protected hardware bits.

SI-10 directly requires validation of information inputs to reject malformed or special-element content before it reaches downstream parsers.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require checking and handling all function return values to detect error conditions.

ID.RA-01 partial match
prevents

ID.RA-01 can surface the hardware-interface flaw during architecture review or testing (partial forward) but supplies no design or implementation restrictions that actually eliminate the root weakness (none reverse).

PR.PS-01 partial match
prevents

PR.PS-01's least-functionality baselines can partially limit exposure to risky hardware interfaces when they are configurable, but CWE-1256 is a design-level failure to implement proper restrictions that config management alone does not prevent.

ID.AM-08 none match
prevents

ID.AM-08's generic lifecycle-management guidance has no direct bearing on hardware-interface restriction defects, so neither direction removes or mitigates CWE-1256.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding practices can enforce input validation and capability checks on hardware-control APIs, reducing the likelihood of unintended register or memory changes.

finds

Security testing in development and acceptance can detect missing return-value checks.

A.8.15 Logging partial match
finds

Logging supports detection of injection attempts but does not prevent the weakness.

finds

Monitoring activities can identify active injection attacks after they occur.

mitigates

Restricting privileged utility programs limits exposure of low-level hardware interfaces that could be abused for memory or register manipulation.

mitigates

Privileged access rights limit who can invoke hardware-control interfaces, reducing the attack surface for unauthorized register/memory manipulation.

References