CVE-2024-1394
Public on
Last 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.
Statement
The majority of RHEL utilities are not long-running applications; instead, they are command-line tools. These tools utilize Golang package as build-time dependency, which is why they are classified as having a "Moderate" level of impact.
Mitigation
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.
Additional Information
- This content is not included.Bugzilla 2262921: golang-fips/openssl: Memory leaks in code encrypting and decrypting RSA payloads
- Content from cwe.mitre.org is not included.CWE-401: Missing Release of Memory after Effective Lifetime
- FAQ: Frequently asked questions about CVE-2024-1394
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2024-1394
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2024-1394
Content from pkg.go.dev is not included.https://pkg.go.dev/vuln/GO-2024-2660
Content from vuln.go.dev is not included.https://vuln.go.dev/ID/GO-2024-2660.json
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| NBDE Tang Server | tang-operator-bundle-container | Will not fix | |
| OpenShift Developer Tools and Services | helm | Affected | |
| OpenShift Developer Tools and Services | odo | Will not fix | |
| OpenShift Pipelines | openshift-pipelines-client | Not affected | |
| OpenShift Serverless | openshift-serverless-clients | Affected | |
| RHODF-4.16-RHEL-9 | odf4/mcg-operator-bundle | Fixed | RHSA-2024:4591 |
| RHODF-4.16-RHEL-9 | odf4/mcg-rhel9-operator | Fixed | RHSA-2024:4591 |
| Red Hat Ansible Automation Platform 1.2 | helm | Will not fix | |
| Red Hat Ansible Automation Platform 1.2 | openshift-clients | Will not fix | |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | receptor | Fixed | RHSA-2024:1640 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | receptor | Fixed | RHSA-2024:1640 |
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | redhat-certification-preflight | Fix deferred | |
| Red Hat Certification for Red Hat Enterprise Linux 8 | redhat-certification-preflight | Fix deferred | |
| Red Hat Developer Tools | go-toolset-1.19-golang | Fixed | RHSA-2024:1468 |
| Red Hat Enterprise Linux 7 | buildah | Out of support scope | |
| Red Hat Enterprise Linux 7 | containernetworking-plugins | Out of support scope | |
| Red Hat Enterprise Linux 7 | host-metering | Out of support scope | |
| Red Hat Enterprise Linux 7 | podman | Out of support scope | |
| Red Hat Enterprise Linux 7 | rhc-worker-script | Out of support scope | |
| Red Hat Enterprise Linux 7 | skopeo | Out of support scope | |
| Red Hat Enterprise Linux 8 | go-toolset:rhel8 | Fixed | RHSA-2024:1472 |
| Red Hat Enterprise Linux 8 | grafana-pcp | Fixed | RHSA-2024:1644 |
| Red Hat Enterprise Linux 8 | grafana | Fixed | RHSA-2024:1646 |
| Red Hat Enterprise Linux 8 | grafana | Fixed | RHSA-2024:3265 |
| Red Hat Enterprise Linux 8 | container-tools:rhel8 | Fixed | RHSA-2024:5258 |
| Red Hat Enterprise Linux 8 | osbuild-composer | Fixed | RHSA-2024:7262 |
| Red Hat Enterprise Linux 8 | container-tools:4.0/buildah | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/conmon | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/containernetworking-plugins | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/podman | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/runc | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/skopeo | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/toolbox | Not affected | |
| Red Hat Enterprise Linux 8 | git-lfs | Not affected | |
| Red Hat Enterprise Linux 8 | rhc | Not affected | |
| Red Hat Enterprise Linux 8 | weldr-client | Not affected | |
| Red Hat Enterprise Linux 9 | golang | Fixed | RHSA-2024:1462 |
| Red Hat Enterprise Linux 9 | grafana | Fixed | RHSA-2024:1501 |
| Red Hat Enterprise Linux 9 | grafana-pcp | Fixed | RHSA-2024:1502 |
| Red Hat Enterprise Linux 9 | golang | Fixed | RHSA-2024:2562 |
| Red Hat Enterprise Linux 9 | grafana | Fixed | RHSA-2024:2568 |
| Red Hat Enterprise Linux 9 | grafana-pcp | Fixed | RHSA-2024:2569 |
| Red Hat Enterprise Linux 9 | buildah | Fixed | RHSA-2024:4371 |
| Red Hat Enterprise Linux 9 | podman | Fixed | RHSA-2024:4378 |
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock | Fixed | RHSA-2024:4379 |
| Red Hat Enterprise Linux 9 | skopeo | Fixed | RHSA-2024:4502 |
| Red Hat Enterprise Linux 9 | containernetworking-plugins | Fixed | RHSA-2024:4761 |
| Red Hat Enterprise Linux 9 | runc | Fixed | RHSA-2024:4762 |
| Red Hat Enterprise Linux 9 | osbuild-composer | Fixed | RHSA-2025:7118 |
| Red Hat Enterprise Linux 9 | conmon | Not affected | |
| Red Hat Enterprise Linux 9 | git-lfs | Not affected | |
| Red Hat Enterprise Linux 9 | toolbox | Not affected | |
| Red Hat Enterprise Linux 9 | weldr-client | Not affected | |
| Red Hat Enterprise Linux 9 | butane | Will not fix | |
| Red Hat Enterprise Linux 9 | ignition | Will not fix | |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | podman | Fixed | RHSA-2024:4581 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | containernetworking-plugins | Fixed | RHSA-2024:4672 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | golang | Fixed | RHSA-2024:4146 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | podman | Fixed | RHSA-2024:5634 |
| Red Hat OpenShift Container Platform 4 | rhcos | Affected | |
| Red Hat OpenShift Container Platform 4 | conmon-rs | Not affected | |
| Red Hat OpenShift Container Platform 4 | golang-github-prometheus-promu | Not affected | |
| Red Hat OpenShift Container Platform 4 | lifecycle-agent-operator-bundle-container | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/numaresources-operator-bundle | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-machine-approver | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/bare-metal-event-relay-operator-bundle | Out of support scope | |
| Red Hat OpenShift Container Platform 4.12 | buildah | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | butane | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | containernetworking-plugins | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | cri-o | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | cri-tools | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | ignition | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | openshift-clients | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | podman | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | runc | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.12 | skopeo | Fixed | RHSA-2024:1574 |
| Red Hat OpenShift Container Platform 4.13 | buildah | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | containernetworking-plugins | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | cri-o | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | cri-tools | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | ignition | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | openshift-clients | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | podman | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | runc | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.13 | skopeo | Fixed | RHSA-2024:1763 |
| Red Hat OpenShift Container Platform 4.14 | microshift | Fixed | RHSA-2024:1566 |
| Red Hat OpenShift Container Platform 4.14 | butane | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | containernetworking-plugins | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | cri-o | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | cri-tools | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | ignition | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | openshift-clients | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | ose-aws-ecr-image-credential-provider | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | podman | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | skopeo | Fixed | RHSA-2024:1567 |
| Red Hat OpenShift Container Platform 4.14 | buildah | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | butane | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | conmon | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | containernetworking-plugins | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | cri-o | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | cri-tools | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | ignition | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | openshift | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | openshift-ansible | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | openshift-clients | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | openshift-kuryr | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | openshift4-aws-iso | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | ose-aws-ecr-image-credential-provider | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | podman | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | runc | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | skopeo | Fixed | RHSA-2024:1897 |
| Red Hat OpenShift Container Platform 4.14 | rhcos | Fixed | RHSA-2024:4960 |
| Red Hat OpenShift Container Platform 4.15 | microshift | Fixed | RHSA-2024:1561 |
| Red Hat OpenShift Container Platform 4.15 | buildah | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | butane | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | containernetworking-plugins | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | cri-o | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | cri-tools | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | ignition | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | openshift-clients | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | ose-aws-ecr-image-credential-provider | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | podman | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | runc | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | skopeo | Fixed | RHSA-2024:1563 |
| Red Hat OpenShift Container Platform 4.15 | rhcos | Fixed | RHSA-2024:4699 |
| Red Hat OpenShift Dev Spaces | devspaces/machineexec-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-operator-bundle | Will not fix | |
| Red Hat OpenShift Virtualization 4 | kubevirt | Not affected | |
| Red Hat OpenShift on AWS | rosa | Affected | |
| Red Hat OpenStack Platform 16.1 | qpid-proton | Not affected | |
| Red Hat OpenStack Platform 16.1 | etcd | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | golang-qpid-apache | Will not fix | |
| Red Hat OpenStack Platform 16.2 | etcd | Fixed | RHSA-2024:3352 |
| Red Hat OpenStack Platform 16.2 | qpid-proton | Not affected | |
| Red Hat OpenStack Platform 16.2 | golang-github-infrawatch-apputils | Will not fix | |
| Red Hat OpenStack Platform 16.2 | golang-qpid-apache | Will not fix | |
| Red Hat OpenStack Platform 17.1 | golang-github-infrawatch-apputils | Affected | |
| Red Hat OpenStack Platform 17.1 | qpid-proton | Not affected | |
| Red Hat OpenStack Platform 17.1 | golang-qpid-apache | Will not fix | |
| Red Hat OpenStack Platform 17.1 for RHEL 8 | collectd-sensubility | Fixed | RHSA-2024:2767 |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | etcd | Fixed | RHSA-2024:2729 |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | collectd-sensubility | Fixed | RHSA-2024:2730 |
| Red Hat OpenStack Platform 18.0 | etcd | Will not fix | |
| Red Hat Openshift Container Storage 4 | mcg | Out of support scope | |
| Red Hat Service Interconnect 1 | skupper-cli | Affected | |
| Red Hat Service Interconnect 1 | qpid-proton | Will not fix | |
| Red Hat Service Interconnect 1 | skupper-router | Will not fix | |
| Red Hat Software Collections | rh-git227-git-lfs | Not affected | |
| Red Hat Storage 3 | heketi | Out of support scope |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | None | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | None | |
| Integrity Impact | None | |
| Availability Impact | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Acknowledgements
Red Hat would like to thank @qmuntal and @r3kumar for reporting this issue.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.