Vulnerability in Red Hat Nbde Tang Server
CVE-2024-1394
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.015, 75.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Nbde Tang Server
- Red Hat Openshift Developer Tools And Services
- Red Hat Openshift Serverless
- Red Hat Ansible Automation Platform 1.2
- Red Hat Certification For Enterprise Linux 8
- Red Hat Certification Program For Enterprise Linux 9
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9 — versions 0:1.20.12-2.el9_3, 0:9.2.10-8.el9_3, 0:5.1.1-2.el9_3
- Red Hat Openshift Container Platform 4
- Red Hat Openshift Container Storage 4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (chnzzh/OpenSSL-CVE-lib, fkie-cad/nvd-json-data-feeds, NaInSec/CVE-LIST). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2024:1462 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1468 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1472 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1501 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1502 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1561 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1563 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1566 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1567 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:1574 (vendor-advisory)