High severity · published Mar 21, 2024
CVE-2024-1394
Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads
7.5
CVSS
1.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 75% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NT
NBDE Tang Server · Red Hat
All versions, or not specified · source: vendor
OD
OpenShift Developer Tools and Services · Red Hat
All versions, or not specified · source: vendor
OS
OpenShift Serverless · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.16-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 1.2 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.4 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.4 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Certification Program for Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Certification for Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Developer Tools · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor