CVE-2010-5298
NoneCVSS
—
EPSS
34.1%
Published
Apr 14, 2014
CISA due date
—
Cloudanix analysis
Older encryption software used in many servers can let attackers disrupt secure connections or leak data between users when the software runs on busy multi-tasking systems.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Tampering
- Component
- Library
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Race condition in ssl3_read_bytes when SSL_MODE_RELEASE_BUFFERS is enabled allows use-after-free and cross-session data injection or denial of service in multithreaded environments.
Why it matters to the business
Legacy systems running affected OpenSSL or dependent packages such as MariaDB face elevated risk of service outages and potential session tampering, though the flaw's age and lack of known exploitation reduce immediate operational urgency.
How an attack unfolds
An attacker opens an SSL connection to a multithreaded server using the vulnerable mode and times concurrent operations to trigger the race, resulting in use-after-free or injection of attacker-controlled data into another session.
How to fix it
Upgrade OpenSSL beyond version 1.0.1g or disable SSL_MODE_RELEASE_BUFFERS; apply vendor patches for MariaDB, SUSE, and Fedora packages that incorporate the fix.
How to confirm the fix worked
Confirm OpenSSL version exceeds 1.0.1g, review application code for disabled release-buffers mode, and perform multithreaded SSL connection tests to verify absence of parsing errors or crashes.
Typical attack path
- Initiate SSL handshake to target
- Enable or rely on SSL_MODE_RELEASE_BUFFERS on server
- Issue concurrent read operations from multiple threads
- Exploit timing window to cause use-after-free or inject data across sessions
How to detect it
Search application and system logs for OpenSSL parsing errors, unexpected session resets, or crashes referencing s3_pkt.c or use-after-free conditions during SSL processing.
What your security team should do
- Prioritize upgrade of all OpenSSL instances and dependent packages
- Audit applications for use of SSL_MODE_RELEASE_BUFFERS in multithreaded contexts
- Add version checks to vulnerability scanning and patch management processes
The record
Race condition in the ssl3_read_bytes function in s3_pkt.c in OpenSSL through 1.0.1g, when SSL_MODE_RELEASE_BUFFERS is enabled, allows remote attackers to inject data across sessions or cause a denial of service (use-after-free and parsing error) via an SSL connection in a multithreaded environment.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | openssl | 0 | 1.0.1g-3 |
| Debian:11 | openssl | 0 | 1.0.1g-3 |
| Debian:12 | openssl | 0 | 1.0.1g-3 |
| Debian:13 | openssl | 0 | 1.0.1g-3 |
| Debian:14 | openssl | 0 | 1.0.1g-3 |
| Debian:7 | openssl | 0 | 1.0.1e-2+deb7u7 |
| Mageia:3 | openssl | 0 | 1.0.1e-1.7.mga3 |
| Mageia:4 | openssl | 0 | 1.0.1e-8.4.mga4 |
| Red Hat:enterprise_linux:6::client | openssl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::client | openssl-debuginfo | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::client | openssl-devel | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::client | openssl-perl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::client | openssl-static | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::computenode | openssl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::computenode | openssl-debuginfo | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::computenode | openssl-devel | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::computenode | openssl-perl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::computenode | openssl-static | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::server | openssl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::server | openssl-debuginfo | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::server | openssl-devel | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::server | openssl-perl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::server | openssl-static | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::workstation | openssl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::workstation | openssl-debuginfo | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::workstation | openssl-devel | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::workstation | openssl-perl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:6::workstation | openssl-static | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:enterprise_linux:7::client | openssl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::client | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::client | openssl-devel | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::client | openssl-libs | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::client | openssl-perl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::client | openssl-static | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl-devel | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl-libs | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl-perl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::computenode | openssl-static | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl-devel | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl-libs | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl-perl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::server | openssl-static | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl-devel | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl-libs | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl-perl | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:enterprise_linux:7::workstation | openssl-static | 0 | 1:1.0.1e-34.el7_0.3 |
| Red Hat:storage:2.1:server:el6 | openssl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:storage:2.1:server:el6 | openssl-debuginfo | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:storage:2.1:server:el6 | openssl-devel | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:storage:2.1:server:el6 | openssl-perl | 0 | 0:1.0.1e-16.el6_5.14 |
| Red Hat:storage:2.1:server:el6 | openssl-static | 0 | 0:1.0.1e-16.el6_5.14 |
| SUSE:Linux Enterprise Desktop 12 | mariadb | 0 | 10.0.16-15.1 |
| SUSE:Linux Enterprise Server 12 | mariadb | 0 | 10.0.16-15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | mariadb | 0 | 10.0.16-15.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | mariadb | 0 | 10.0.16-15.1 |
| SUSE:Linux Enterprise Workstation Extension 12 | mariadb | 0 | 10.0.16-15.1 |
| Ubuntu:14.04:LTS | openssl | 0 | 1.0.1f-1ubuntu2.1 |
| openSUSE:Tumbleweed | openssl-1_1 | 0 | 1.1.1l-1.2 |
Related vulnerabilities
- CVE-2022-0778 The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can… Also affects openssl
- CVE-2021-3712 ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which… Also affects openssl
- CVE-2021-3449 An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello… Also affects openssl
- CVE-2021-23840 Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the… Also affects openssl
- CVE-2020-1971 The X.509 GeneralName type is a generic type for representing different types of names. Also affects openssl
- CVE-2020-1967 Server or client applications that call the SSL_check_chain() function during or after a… Also affects openssl
- CVE-2019-1551 There is an overflow bug in the x64_64 Montgomery squaring procedure used in… Also affects openssl
- CVE-2019-1547 Normally in OpenSSL EC groups always have a co-factor present and this is used in side… Also affects openssl