Skip to main content

OpenSSL CVE-2024-1394

HIGH
Memory Leak (CWE-401)
2024-03-21 secalert@redhat.com
7.5
CVSS 3.1 · Vendor: redhat
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Impact

CVSS score of 7.5 (HIGH). Attack characteristics: network attack vector, low complexity, no privileges required, no user interaction not required.

Exploit ScenarioDerived

A remote attacker could exhaust available memory leading to denial of service by sending crafted requests to the affected application. No authentication is required to exploit this vulnerability.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs​. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Ensure all allocated memory is properly freed. Use RAII patterns or garbage-collected languages.

Affected Packages

go github.com/golang-fips/go no fix
go github.com/golang-fips/openssl/v2 fix: 2.0.1
go github.com/microsoft/go-crypto-openssl fix: 0.2.9
go github.com/microsoft/go-crypto-openssl/openssl fix: 0.2.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as Memory Leak (CWE-401), which allows attackers to exhaust available memory leading to denial of service. A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs​. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey​ and ctx​. That function uses named return parameters to free pkey​ and ctx​ if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey​ and ctx​ will be nil inside the deferred function that should free them.

Know when OpenSSL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (redhat) · only source for this CVE.

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs​. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey​ and ctx​. That function uses named return parameters to free pkey​ and ctx​ if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey​ and ctx​ will be nil inside the deferred function that should free them.

Threat Intelligence Overview

EPSS Score
1.5%
Top 28% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2014-0160 HIGH POC
7.5 Apr 07

The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe

CVE-2021-3711 CRITICAL POC
9.8 Aug 24

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri

CVE-2014-0195 MEDIUM POC
6.8 Jun 05

The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2016-0800 MEDIUM POC
5.9 Mar 01

The SSLv2 protocol, as used in OpenSSL before 1.0.1s and 1.0.2 before 1.0.2g and other products, requires a server to se

CVE-2015-0204 MEDIUM POC
4.3 Jan 09

The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k

CVE-2022-2068 HIGH
7.3 Jun 21

In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehas

CVE-2015-4000 LOW POC
3.7 May 21

The TLS protocol 1.2 and earlier, when a DHE_EXPORT ciphersuite is enabled on a server but not on a client, does not pro

CVE-2014-3566 LOW POC
3.4 Oct 15

The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak

CVE-2016-2107 MEDIUM POC
5.9 May 05

The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a

CVE-2015-1793 MEDIUM POC
6.5 Jul 09

The X509_verify_cert function in crypto/x509/x509_vfy.c in OpenSSL 1.0.1n, 1.0.1o, 1.0.2b, and 1.0.2c does not properly

CVE-2022-3602 HIGH
7.5 Nov 01

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Rated hig

References

Advisories & patches
ADVISORY https://vuldb.com/vuln/257515 REF https://access.redhat.com/errata/RHSA-2024:1462 REF https://access.redhat.com/errata/RHSA-2024:1468 REF https://access.redhat.com/errata/RHSA-2024:1472 REF https://access.redhat.com/errata/RHSA-2024:1501 REF https://access.redhat.com/errata/RHSA-2024:1502 REF https://access.redhat.com/errata/RHSA-2024:1561 REF https://access.redhat.com/errata/RHSA-2024:1563 REF https://access.redhat.com/errata/RHSA-2024:1566 REF https://access.redhat.com/errata/RHSA-2024:1567 REF https://access.redhat.com/errata/RHSA-2024:1574 REF https://access.redhat.com/errata/RHSA-2024:1640 REF https://access.redhat.com/errata/RHSA-2024:1644 REF https://access.redhat.com/errata/RHSA-2024:1646 REF https://access.redhat.com/errata/RHSA-2024:1763 REF https://access.redhat.com/errata/RHSA-2024:1897 REF https://access.redhat.com/errata/RHSA-2024:2562 REF https://access.redhat.com/errata/RHSA-2024:2568 REF https://access.redhat.com/errata/RHSA-2024:2569 REF https://access.redhat.com/errata/RHSA-2024:2729 REF https://access.redhat.com/errata/RHSA-2024:2730 REF https://access.redhat.com/errata/RHSA-2024:2767 REF https://access.redhat.com/errata/RHSA-2024:3265 REF https://access.redhat.com/errata/RHSA-2024:3352 REF https://access.redhat.com/errata/RHSA-2024:4146 REF https://access.redhat.com/errata/RHSA-2024:4371 REF https://access.redhat.com/errata/RHSA-2024:4378 REF https://access.redhat.com/errata/RHSA-2024:4379 REF https://access.redhat.com/errata/RHSA-2024:4502 REF https://access.redhat.com/errata/RHSA-2024:4581 REF https://access.redhat.com/errata/RHSA-2024:4591 REF https://access.redhat.com/errata/RHSA-2024:4672 REF https://access.redhat.com/errata/RHSA-2024:4699 REF https://access.redhat.com/errata/RHSA-2024:4761 REF https://access.redhat.com/errata/RHSA-2024:4762 REF https://access.redhat.com/errata/RHSA-2024:4960 REF https://access.redhat.com/errata/RHSA-2024:5258 REF https://access.redhat.com/errata/RHSA-2024:5634 REF https://access.redhat.com/errata/RHSA-2024:7262 REF https://access.redhat.com/errata/RHSA-2025:7118 REF https://access.redhat.com/security/cve/CVE-2024-1394 REF https://bugzilla.redhat.com/show_bug.cgi?id=2262921 REF https://github.com/golang-fips/openssl/commit/85d31d0d257ce842c8a1e63c4d230ae850348136 REF https://github.com/golang-fips/openssl/security/advisories/GHSA-78hx-gp6g-7mj6 REF https://github.com/microsoft/go-crypto-openssl/commit/104fe7f6912788d2ad44602f77a0a0a62f1f259f REF https://pkg.go.dev/vuln/GO-2024-2660 REF https://vuln.go.dev/ID/GO-2024-2660.json

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy