Vulnerability
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.
91 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
ALSA-2024:1462
Important: golang security update
-
ALSA-2024:1472
Important: go-toolset:rhel8 security update
-
ALSA-2024:1501
Important: grafana security update
-
ALSA-2024:1502
Important: grafana-pcp security update
-
ALSA-2024:1644
Important: grafana-pcp security and bug fix update
-
ALSA-2024:1646
Important: grafana security and bug fix update
-
ALSA-2024:2562
Important: golang security update
-
ALSA-2024:2568
Moderate: grafana security update
-
ALSA-2024:2569
Important: grafana-pcp security update
-
ALSA-2024:3265
Important: grafana security update
-
ALSA-2024:4371
Important: buildah security update
-
ALSA-2024:4378
Important: podman security update
-
ALSA-2024:4379
Important: gvisor-tap-vsock security update
-
ALSA-2024:4502
Important: skopeo security update
-
ALSA-2024:4761
Important: containernetworking-plugins security update
-
ALSA-2024:4762
Important: runc security update
-
ALSA-2024:5258
Important: container-tools:rhel8 security update
-
ALSA-2024:7262
Important: osbuild-composer security update
-
ALSA-2025:7118
Important: osbuild and osbuild-composer security update
-
AZL-110327
CVE-2024-1394 affecting package buildah 1.43.1-3
-
AZL-110382
CVE-2024-1394 affecting package conmon 2.1.8-1
-
AZL-110516
CVE-2024-1394 affecting package runc 1.4.3-1
-
AZL-110519
CVE-2024-1394 affecting package skopeo 1.14.4-13
-
ELSA-2024-1462
ELSA-2024-1462: golang security update (IMPORTANT)
-
ELSA-2024-1472
ELSA-2024-1472: go-toolset:ol8 security update (IMPORTANT)
-
ELSA-2024-1501
ELSA-2024-1501: grafana security update (IMPORTANT)
-
ELSA-2024-1502
ELSA-2024-1502: grafana-pcp security update (IMPORTANT)
-
ELSA-2024-1644
ELSA-2024-1644: grafana-pcp security and bug fix update (IMPORTANT)
-
ELSA-2024-1646
ELSA-2024-1646: grafana security and bug fix update (IMPORTANT)
-
ELSA-2024-2562
ELSA-2024-2562: golang security update (IMPORTANT)
-
ELSA-2024-2568
ELSA-2024-2568: grafana security update (MODERATE)
-
ELSA-2024-2569
ELSA-2024-2569: grafana-pcp security update (IMPORTANT)
-
ELSA-2024-3265
ELSA-2024-3265: grafana security update (IMPORTANT)
-
ELSA-2024-4371
ELSA-2024-4371: buildah security update (IMPORTANT)
-
ELSA-2024-4378
ELSA-2024-4378: podman security update (IMPORTANT)
-
ELSA-2024-4379
ELSA-2024-4379: gvisor-tap-vsock security update (IMPORTANT)
-
ELSA-2024-4502
ELSA-2024-4502: skopeo security update (IMPORTANT)
-
ELSA-2024-4761
ELSA-2024-4761: containernetworking-plugins security update (IMPORTANT)
-
ELSA-2024-4762
ELSA-2024-4762: runc security update (IMPORTANT)
-
ELSA-2024-5258
ELSA-2024-5258: container-tools:ol8 security update (IMPORTANT)
-
ELSA-2024-7262
ELSA-2024-7262: osbuild-composer security update (IMPORTANT)
-
ELSA-2025-7118
ELSA-2025-7118: osbuild and osbuild-composer security update (IMPORTANT)
-
GHSA-78hx-gp6g-7mj6
Memory leaks in code encrypting and verifying RSA payloads
-
GO-2024-2660
Memory leak in github.com/golang-fips/openssl/v2 and github.com/microsoft/go-crypto-openssl
-
RHSA-2024:1462
Red Hat Security Advisory: golang security update
-
RHSA-2024:1468
Red Hat Security Advisory: go-toolset-1.19-golang security update
-
RHSA-2024:1472
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2024:1501
Red Hat Security Advisory: grafana security update
-
RHSA-2024:1502
Red Hat Security Advisory: grafana-pcp security update
-
RHSA-2024:1561
Red Hat Security Advisory: Red Hat build of MicroShift 4.15.6 security update
-
RHSA-2024:1563
Red Hat Security Advisory: OpenShift Container Platform 4.15.6 packages and security update
-
RHSA-2024:1566
Red Hat Security Advisory: Red Hat build of MicroShift 4.14.19 security update
-
RHSA-2024:1567
Red Hat Security Advisory: OpenShift Container Platform 4.14.19 security update
-
RHSA-2024:1574
Red Hat Security Advisory: OpenShift Container Platform 4.12.54 packages and security update
-
RHSA-2024:1640
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2024:1644
Red Hat Security Advisory: grafana-pcp security and bug fix update
-
RHSA-2024:1646
Red Hat Security Advisory: grafana security and bug fix update
-
RHSA-2024:1763
Red Hat Security Advisory: OpenShift Container Platform 4.13.40 packages and security update
-
RHSA-2024:1897
Red Hat Security Advisory: OpenShift Container Platform 4.14.22 packages and security update
-
RHSA-2024:2562
Red Hat Security Advisory: golang security update
-
RHSA-2024:2568
Red Hat Security Advisory: grafana security update
-
RHSA-2024:2569
Red Hat Security Advisory: grafana-pcp security update
-
RHSA-2024:2729
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (etcd) security update
-
RHSA-2024:2730
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (collectd-sensubility) security update
-
RHSA-2024:2767
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (collectd-sensubility) security update
-
RHSA-2024:3265
Red Hat Security Advisory: grafana security update
-
RHSA-2024:3352
Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (etcd) security update
-
RHSA-2024:4146
Red Hat Security Advisory: golang security update
-
RHSA-2024:4371
Red Hat Security Advisory: buildah security update
-
RHSA-2024:4378
Red Hat Security Advisory: podman security update
-
RHSA-2024:4379
Red Hat Security Advisory: gvisor-tap-vsock security update
-
RHSA-2024:4502
Red Hat Security Advisory: skopeo security update
-
RHSA-2024:4581
Red Hat Security Advisory: podman security update
-
RHSA-2024:4672
Red Hat Security Advisory: containernetworking-plugins security update
-
RHSA-2024:4761
Red Hat Security Advisory: containernetworking-plugins security update
-
RHSA-2024:4762
Red Hat Security Advisory: runc security update
-
RHSA-2024:5258
Red Hat Security Advisory: container-tools:rhel8 security update
-
RHSA-2024:5634
Red Hat Security Advisory: podman security update
-
RHSA-2024:7262
Red Hat Security Advisory: osbuild-composer security update
-
RHSA-2025:7118
Red Hat Security Advisory: osbuild and osbuild-composer security update
-
RHVEX-CVE-2024-1394
golang-fips/openssl: Memory leaks in code encrypting and decrypting RSA payloads
-
RLSA-2024:1472
Important: go-toolset:rhel8 security update
-
RLSA-2024:1502
Important: grafana-pcp security update
-
RLSA-2024:1644
Important: grafana-pcp security and bug fix update
-
RLSA-2024:1646
Important: grafana security and bug fix update
-
RLSA-2024:2568
Moderate: grafana security update
-
RLSA-2024:2569
Important: grafana-pcp security update
-
RLSA-2024:3265
Important: grafana security update
-
RLSA-2024:4502
Important: skopeo security update
-
RLSA-2024:5258
Important: container-tools:rhel8 security update
-
RLSA-2024:7262
Important: osbuild-composer security update
References
- https://access.redhat.com/errata/RHSA-2024:1462
- https://access.redhat.com/errata/RHSA-2024:1468
- https://access.redhat.com/errata/RHSA-2024:1472
- https://access.redhat.com/errata/RHSA-2024:1501
- https://access.redhat.com/errata/RHSA-2024:1502
- https://access.redhat.com/errata/RHSA-2024:1561
- https://access.redhat.com/errata/RHSA-2024:1563
- https://access.redhat.com/errata/RHSA-2024:1566
- https://access.redhat.com/errata/RHSA-2024:1567
- https://access.redhat.com/errata/RHSA-2024:1574
- https://access.redhat.com/errata/RHSA-2024:1640
- https://access.redhat.com/errata/RHSA-2024:1644
- https://access.redhat.com/errata/RHSA-2024:1646
- https://access.redhat.com/errata/RHSA-2024:1763
- https://access.redhat.com/errata/RHSA-2024:1897
- https://access.redhat.com/errata/RHSA-2024:2562
- https://access.redhat.com/errata/RHSA-2024:2568
- https://access.redhat.com/errata/RHSA-2024:2569
- https://access.redhat.com/errata/RHSA-2024:2729
- https://access.redhat.com/errata/RHSA-2024:2730
- https://access.redhat.com/errata/RHSA-2024:2767
- https://access.redhat.com/errata/RHSA-2024:3265
- https://access.redhat.com/errata/RHSA-2024:3352
- https://access.redhat.com/errata/RHSA-2024:4146
- https://access.redhat.com/errata/RHSA-2024:4371
- https://access.redhat.com/errata/RHSA-2024:4378
- https://access.redhat.com/errata/RHSA-2024:4379
- https://access.redhat.com/errata/RHSA-2024:4502
- https://access.redhat.com/errata/RHSA-2024:4581
- https://access.redhat.com/errata/RHSA-2024:4591
- https://access.redhat.com/errata/RHSA-2024:4672
- https://access.redhat.com/errata/RHSA-2024:4699
- https://access.redhat.com/errata/RHSA-2024:4761
- https://access.redhat.com/errata/RHSA-2024:4762
- https://access.redhat.com/errata/RHSA-2024:4960
- https://access.redhat.com/errata/RHSA-2024:5258
- https://access.redhat.com/errata/RHSA-2024:5634
- https://access.redhat.com/errata/RHSA-2024:7262
- https://access.redhat.com/errata/RHSA-2025:7118
- https://access.redhat.com/security/cve/CVE-2024-1394
- https://bugzilla.redhat.com/show_bug.cgi?id=2262921
- https://github.com/golang-fips/openssl/commit/85d31d0d257ce842c8a1e63c4d230ae850348136
- https://github.com/golang-fips/openssl/security/advisories/GHSA-78hx-gp6g-7mj6
- https://github.com/microsoft/go-crypto-openssl/commit/104fe7f6912788d2ad44602f77a0a0a62f1f259f
- https://pkg.go.dev/vuln/GO-2024-2660
- https://vuln.go.dev/ID/GO-2024-2660.json