Skip to content
VulniPulse
High7.5Red Hat Linux

High [CVE-2024-1394] Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads

This high-severity Red Hat Linux advisory covers CVE-2024-1394 affecting Red Hat Ansible Automation Platform 2.4 for RHEL 8, Red Hat Ansible Automation Platform 2.4 for RHEL 9, Red Hat Developer Tools.

CVE-2024-1394 Published Mar 21, 2024Updated by vendor Mar 20, 2024
Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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. 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. Red Hat severity: Important — CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Weakness: CWE-401.

Affected products named by the advisory: Red Hat Ansible Automation Platform 2.4 for RHEL 8; Red Hat Ansible Automation Platform 2.4 for RHEL 9; Red Hat Developer Tools; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions; and 37 more.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Fixed versions
  • receptor-0:1.4.5-1.el8ap
  • receptor-0:1.4.5-1.el9ap
  • go-toolset-1.19-golang-0:1.19.13-6.el7_9
  • go-toolset:rhel8-8090020240313170136.26eb71ac
  • grafana-pcp-0:5.1.1-2.el8_9
  • grafana-0:9.2.10-8.el8_9
  • grafana-0:9.2.10-16.el8_10
  • container-tools:rhel8-8100020240808093819.afee755d
  • osbuild-composer-0:101-2.el8_10
  • golang-0:1.20.12-2.el9_3
  • grafana-0:9.2.10-8.el9_3
  • grafana-pcp-0:5.1.1-2.el9_3
  • golang-0:1.21.9-2.el9_4
  • grafana-0:9.2.10-16.el9_4
  • grafana-pcp-0:5.1.1-2.el9_4
  • buildah-2:1.33.7-3.el9_4
  • podman-4:4.9.4-5.el9_4
  • gvisor-tap-vsock-6:0.7.3-4.el9_4
  • skopeo-2:1.14.3-3.el9_4
  • containernetworking-plugins-1:1.4.0-4.el9_4
  • runc-4:1.1.12-3.el9_4
  • osbuild-composer-0:132-1.el9
  • podman-2:4.2.0-4.el9_0
  • containernetworking-plugins-1:1.0.1-6.el9_0
  • golang-0:1.19.13-7.el9_2
  • podman-2:4.4.1-20.el9_2
  • buildah-1:1.23.4-5.2.rhaos4.12.el8
  • butane-0:0.16.0-2.2.rhaos4.12.el8
  • containernetworking-plugins-1:1.4.0-1.1.rhaos4.12.el8
  • cri-o-0:1.25.3-5.2.rhaos4.12.git44a2cb2.el9
  • cri-tools-0:1.25.0-2.2.el8
  • ignition-0:2.14.0-5.2.rhaos4.12.el9
  • openshift-clients-0:4.12.0-202403251017.p0.gd4c9e3c.assembly.stream.el8
  • podman-3:4.2.0-7.2.rhaos4.12.el9
  • runc-3:1.1.6-5.2.rhaos4.12.el8
  • skopeo-2:1.9.4-3.2.rhaos4.12.el8
  • buildah-1:1.29.1-2.2.rhaos4.13.el8
  • containernetworking-plugins-1:1.4.0-1.1.rhaos4.13.el8
  • cri-o-0:1.26.5-11.1.rhaos4.13.git919cc6e.el8
  • cri-tools-0:1.26.0-4.1.el8
  • RHSA-2024:1640
  • RHSA-2024:1468
  • RHSA-2024:1472
  • RHSA-2024:1644
  • RHSA-2024:1646
  • RHSA-2024:3265
  • RHSA-2024:5258
  • RHSA-2024:7262
  • RHSA-2024:1462
  • RHSA-2024:1501

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Mitigation checklist

Recommended fix / 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.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.