Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-1394

HIGH 7.5EPSS 80%

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

Also known as GHSA-78hx-gp6g-7mj6, GO-2024-2660

Mitigation

  • Upgrade github.com/golang-fips/openssl/v2 to 2.0.1 or later.
  • Upgrade github.com/microsoft/go-crypto-openssl to 0.2.9 or later.
  • Upgrade github.com/microsoft/go-crypto-openssl/openssl to 0.2.9 or later.
  • Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Who should check

  • Projects that depend on Go package github.com/golang-fips/go (<= 1.22.1)
  • Projects that depend on Go package github.com/golang-fips/openssl/v2 (< 2.0.1)
  • Projects that depend on Go package github.com/microsoft/go-crypto-openssl (<= 0.2.8)
  • Projects that depend on Go package github.com/microsoft/go-crypto-openssl/openssl (< 0.2.9)
  • Anyone running Red Hat Ansible Automation Platform 2.4 for RHEL 8 all versions
  • Anyone running Red Hat Ansible Automation Platform 2.4 for RHEL 9 all versions
  • Anyone running Red Hat Developer Tools all versions
  • Anyone running Red Hat Enterprise Linux 8 all versions

Vulnerability facts

Affected
github.com/golang-fips/go <= 1.22.1; github.com/golang-fips/openssl/v2 < 2.0.1; github.com/microsoft/go-crypto-openssl <= 0.2.8; github.com/microsoft/go-crypto-openssl/openssl < 0.2.9
Fixed in
2.0.1, 0.2.9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
1.90% chance of exploitation in 30 days (percentile 80, 2026-11-26)
CWE
CWE-401
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/golang-fips/go<= 1.22.1—osv
Go github.com/golang-fips/openssl/v2< 2.0.12.0.1osv
Go github.com/microsoft/go-crypto-openssl<= 0.2.80.2.9osv
Go github.com/microsoft/go-crypto-openssl/openssl< 0.2.90.2.9osv
Red Hat Ansible Automation Platform 2.4 for RHEL 8all versions—cvelist
Red Hat Ansible Automation Platform 2.4 for RHEL 8all versions—cvelist
Red Hat Ansible Automation Platform 2.4 for RHEL 8all versions—cvelist
Red Hat Ansible Automation Platform 2.4 for RHEL 9all versions—cvelist
Red Hat Ansible Automation Platform 2.4 for RHEL 9all versions—cvelist
Red Hat Ansible Automation Platform 2.4 for RHEL 9all versions—cvelist
Red Hat Developer Toolsall versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsall versions—cvelist
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsall versions—cvelist
Red Hat Enterprise Linux 9.2 Extended Update Supportall versions—cvelist
Red Hat Enterprise Linux 9.2 Extended Update Supportall versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenStack Platform 16.2all versions—cvelist
Red Hat OpenStack Platform 17.1 for RHEL 8all versions—cvelist
Red Hat OpenStack Platform 17.1 for RHEL 9all versions—cvelist
Red Hat OpenStack Platform 17.1 for RHEL 9all versions—cvelist
Red Hat RHODF-4.16-RHEL-9all versions—cvelist
Red Hat RHODF-4.16-RHEL-9all versions—cvelist
Red Hat NBDE Tang Serverall versions—cvelist
Red Hat OpenShift Developer Tools and Servicesall versions—cvelist
Red Hat OpenShift Developer Tools and Servicesall versions—cvelist
Red Hat OpenShift Pipelines——cvelist
Red Hat OpenShift Serverlessall versions—cvelist
Red Hat Ansible Automation Platform 1.2all versions—cvelist
Red Hat Ansible Automation Platform 1.2all versions—cvelist
Red Hat Certification for Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Certification Program for Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9——cvelist
Red Hat Enterprise Linux 9——cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9——cvelist
Red Hat Enterprise Linux 9——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat OpenShift Container Platform 4——cvelist
Red Hat Openshift Container Storage 4——cvelist
Red Hat OpenShift Dev Spacesall versions—cvelist
Red Hat OpenShift GitOpsall versions—cvelist
Red Hat OpenShift on AWSall versions—cvelist
Red Hat OpenShift Virtualization 4——cvelist
Red Hat OpenStack Platform 16.1——cvelist
Red Hat OpenStack Platform 16.1all versions—cvelist
Red Hat OpenStack Platform 16.1——cvelist
Red Hat OpenStack Platform 16.2all versions—cvelist
Red Hat OpenStack Platform 16.2all versions—cvelist
Red Hat OpenStack Platform 16.2——cvelist
Red Hat OpenStack Platform 17.1all versions—cvelist
Red Hat OpenStack Platform 17.1——cvelist
Red Hat OpenStack Platform 18.0all versions—cvelist
Red Hat Service Interconnect 1all versions—cvelist
Red Hat Service Interconnect 1all versions—cvelist
Red Hat Service Interconnect 1all versions—cvelist
Red Hat Software Collections——cvelist
Red Hat Storage 3——cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-1394. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-1394.md
Affected: github.com/golang-fips/go <= 1.22.1; github.com/golang-fips/openssl/v2 < 2.0.1; github.com/microsoft/go-crypto-openssl <= 0.2.8; github.com/microsoft/go-crypto-openssl/openssl < 0.2.9
Fixed in: 2.0.1, 0.2.9

Steps:
1. Search this machine and project for github.com/golang-fips/go (Go), github.com/golang-fips/openssl/v2 (Go), github.com/microsoft/go-crypto-openssl (Go), github.com/microsoft/go-crypto-openssl/openssl (Go), Red Hat Ansible Automation Platform 2.4 for RHEL 8, Red Hat Ansible Automation Platform 2.4 for RHEL 9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

Vendor advisories

FAQ

Is CVE-2024-1394 being exploited?

There is no confirmed exploitation: CVE-2024-1394 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.90% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-1394?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2024-1394?

github.com/golang-fips/go <= 1.22.1; github.com/golang-fips/openssl/v2 < 2.0.1; github.com/microsoft/go-crypto-openssl <= 0.2.8; github.com/microsoft/go-crypto-openssl/openssl < 0.2.9.

Is there a fix for CVE-2024-1394?

Yes. Fixed in 2.0.1, 0.2.9. Upgrade github.com/golang-fips/openssl/v2 to 2.0.1 or later. Upgrade github.com/microsoft/go-crypto-openssl to 0.2.9 or later. Upgrade github.com/microsoft/go-crypto-openssl/openssl to 0.2.9 or later. Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

How do I check if I'm affected by CVE-2024-1394?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors