CVE-2024-1394

Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads

HIGH
7.5
CVSS Score
Published: March 21, 2024 at 12:16 PM UTC
Updated: October 9, 2026 at 12:17 AM UTC
12 products affected across 1 vendorEnterprise LinuxAnsible Automation PlatformOpenStack Platform

Using Red Hat Ansible Automation Platform 2.4 for RHEL 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Ansible Automation Platform 2.4 for RHEL 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions1.2
Vendor states this is fixed in 0:1.4.5-1.el8ap (unaffected)
Vendor states this is fixed in 0:1.4.5-1.el9ap (unaffected)
All versions9
Vendor states this is fixed in 0:1.19.13-7.el9_2 (unaffected)
Vendor states this is fixed in 0:1.20.12-2.el9_3 (unaffected)
Vendor states this is fixed in 0:1.21.9-2.el9_4 (unaffected)
Vendor states this is fixed in 0:101-2.el8_10 (unaffected)
Vendor states this is fixed in 0:132-1.el9 (unaffected)
Vendor states this is fixed in 0:5.1.1-2.el8_9 (unaffected)
Vendor states this is fixed in 0:5.1.1-2.el9_3 (unaffected)
Vendor states this is fixed in 0:5.1.1-2.el9_4 (unaffected)
Vendor states this is fixed in 0:9.2.10-16.el8_10 (unaffected)
Vendor states this is fixed in 0:9.2.10-16.el9_4 (unaffected)
Vendor states this is fixed in 0:9.2.10-8.el8_9 (unaffected)
Vendor states this is fixed in 0:9.2.10-8.el9_3 (unaffected)
Vendor states this is fixed in 1:1.0.1-6.el9_0 (unaffected)
Vendor states this is fixed in 1:1.4.0-4.el9_4 (unaffected)
Vendor states this is fixed in 2:1.14.3-3.el9_4 (unaffected)
Vendor states this is fixed in 2:1.33.7-3.el9_4 (unaffected)
Vendor states this is fixed in 2:4.2.0-4.el9_0 (unaffected)
Vendor states this is fixed in 2:4.4.1-20.el9_2 (unaffected)
Vendor states this is fixed in 4:1.1.12-3.el9_4 (unaffected)
Vendor states this is fixed in 4:4.9.4-5.el9_4 (unaffected)
Vendor states this is fixed in 6:0.7.3-4.el9_4 (unaffected)
Vendor states this is fixed in 8 (unaffected)
Vendor states this is fixed in 8090020240313170136.26eb71ac (unaffected)
Vendor states this is fixed in 8100020240808093819.afee755d (unaffected)
Vendor states this is fixed in 7 (unknown)
All versions1
All versions1
All versions16.1
Vendor states this is fixed in 0:0.2.1-3.el8ost (unaffected)
Vendor states this is fixed in 0:0.2.1-3.el9ost (unaffected)
Vendor states this is fixed in 0:3.3.23-16.el8ost (unaffected)
Vendor states this is fixed in 0:3.4.26-8.el9ost (unaffected)
Vendor states this is fixed in 16.1 (unaffected)
Vendor states this is fixed in 17.1 (unaffected)
Vendor states this is fixed in 16.1 (unknown)

References (46)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card