Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-45237: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in TianoCore edk2

0
Medium
VulnerabilityCVE-2023-45237cvecve-2023-45237cwe-338
Published: Tue Jan 16 2024 (01/16/2024, 16:11:11 UTC)
Source: CVE Database V5
Vendor/Project: TianoCore
Product: edk2

Description

EDK2's Network Package is susceptible to a predictable TCP Initial Sequence Number. This vulnerability can be exploited by an attacker to gain unauthorized access and potentially lead to a loss of Confidentiality.

AI-Powered Analysis

AILast updated: 11/04/2025, 18:54:00 UTC

Technical Analysis

CVE-2023-45237 identifies a vulnerability in the TianoCore edk2 project's Network Package, specifically in the stable202308 release. The root cause is the use of a cryptographically weak pseudo-random number generator (PRNG) that generates predictable TCP Initial Sequence Numbers (ISNs). TCP ISNs are critical for establishing secure and reliable TCP connections, as they prevent attackers from guessing sequence numbers and injecting malicious packets or hijacking sessions. The weakness violates best practices for randomness in TCP sequence generation, classified under CWE-338. An attacker with network access can exploit this flaw without requiring authentication or user interaction, by predicting ISNs and performing TCP session hijacking or man-in-the-middle attacks. This can lead to unauthorized access to sensitive data, impacting confidentiality. The vulnerability has a CVSS v3.1 base score of 5.3 (medium severity), reflecting its network attack vector, low complexity, and confidentiality impact without affecting integrity or availability. No public exploits are known yet, but the flaw is significant given the widespread use of edk2 as a UEFI firmware implementation in many modern computing platforms. The lack of available patches at the time of reporting necessitates proactive mitigation and monitoring.

Potential Impact

For European organizations, the vulnerability poses a risk primarily to systems using affected edk2 firmware versions, which are common in UEFI-based devices including servers, desktops, and embedded systems. Exploitation could allow attackers to hijack TCP sessions, potentially gaining unauthorized access to internal network communications or sensitive data, leading to confidentiality breaches. This is particularly concerning for sectors with high-value data or critical infrastructure, such as finance, telecommunications, energy, and government agencies. The medium severity score indicates a moderate risk; however, the ease of exploitation without authentication and user interaction increases the threat level in network-exposed environments. Organizations with remote or untrusted network access should be especially vigilant. The vulnerability does not directly impact system integrity or availability but can serve as a stepping stone for further attacks. The absence of known exploits suggests a window for preventive action before active exploitation occurs.

Mitigation Recommendations

1. Monitor TianoCore and vendor advisories for patches addressing CVE-2023-45237 and apply firmware updates promptly once available. 2. Until patches are released, implement network-level defenses such as TCP sequence number randomization or enhanced firewall rules to detect and block suspicious TCP session attempts. 3. Employ network intrusion detection/prevention systems (IDS/IPS) configured to identify anomalous TCP sequence behaviors indicative of session hijacking attempts. 4. Restrict network access to critical systems using edk2 firmware, especially from untrusted or external networks, via segmentation and VPNs. 5. Conduct regular network traffic analysis to detect unusual TCP connection patterns or repeated connection resets. 6. Coordinate with hardware vendors to confirm affected device models and firmware versions in use and prioritize their remediation. 7. Educate network administrators about the risks of predictable TCP ISNs and encourage vigilance in monitoring network sessions. 8. Consider deploying additional cryptographic protections at higher layers (e.g., TLS) to mitigate confidentiality risks from TCP-level attacks.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
TianoCore
Date Reserved
2023-10-05T20:48:19.879Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a47346d939959c8021a98

Added to database: 11/4/2025, 6:34:28 PM

Last enriched: 11/4/2025, 6:54:00 PM

Last updated: 11/5/2025, 2:10:15 PM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats