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…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/golang-fips/go | <= 1.22.1 | nicht erfasst |
| go | github.com/golang-fips/openssl/v2 | <= 2.0.0 | 2.0.1 |
| go | github.com/microsoft/go-crypto-openssl | <= 0.2.8 | nicht erfasst |
| go | github.com/microsoft/go-crypto-openssl/openssl | <= 0.2.8 | 0.2.9 |
Betroffene Produkte · Red Hat
| Produkt | Betroffene Versionen |
|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Alle Versionen |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Version patch: 0:1.4.5-1.el9ap |
| Red Hat Developer Tools | Version patch: 0:1.19.13-6.el7_9 |
| Red Hat Enterprise Linux 8 | Versionen patch: 0:101-2.el8_10, patch: 8090020240313170136.26eb71ac, patch: 0:5.1.1-2.el8_9, patch: 0:9.2.10-16.el8_10, patch: 8100020240808093819.afee755d |
| Red Hat Enterprise Linux 9 | Versionen patch: 1:1.4.0-4.el9_4, patch: 4:1.1.12-3.el9_4, patch: 0:9.2.10-16.el9_4, patch: 2:1.33.7-3.el9_4, patch: 0:5.1.1-2.el9_3, patch: 0:1.21.9-2.el9_4 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | Versionen patch: 1:1.0.1-6.el9_0, patch: 2:4.2.0-4.el9_0 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | Versionen patch: 2:4.4.1-20.el9_2, patch: 0:1.19.13-7.el9_2 |
| Red Hat OpenShift Container Platform 4.12 | Versionen patch: 0:1.25.3-5.2.rhaos4.12.git44a2cb2.el9, patch: 0:4.12.0-202403251017.p0.gd4c9e3c.assembly.stream.el8, patch: 1:1.4.0-1.1.rhaos4.12.el8, patch: 3:1.1.6-5.2.rhaos4.12.el8, patch: 0:2.14.0-5.2.rhaos4.12.el9, patch: 0:0.16.0-2.2.rhaos4.12.el8 |
| Red Hat OpenShift Container Platform 4.13 | Versionen patch: 2:1.11.2-2.2.rhaos4.13.el8, patch: 0:1.26.5-11.1.rhaos4.13.git919cc6e.el8, patch: 4:1.1.12-1.1.rhaos4.13.el8, patch: 1:1.29.1-2.2.rhaos4.13.el8, patch: 3:4.4.1-5.2.rhaos4.13.el8, patch: 0:2.15.0-7.1.rhaos4.13.el9 |
| Red Hat OpenShift Container Platform 4.14 | Versionen patch: 3:4.4.1-11.4.rhaos4.14.el8, patch: 3:2.1.7-3.4.rhaos4.14.el8, patch: 0:0.19.0-1.4.rhaos4.14.el8, patch: 2:1.11.2-10.3.rhaos4.14.el8, patch: 0:4.14.0-202404151639.p0.gd2acdd5.assembly.stream.el8, patch: 0:4.14.0-202404151639.p0.gf7b14a9.assembly.stream.el8 |
| Red Hat OpenShift Container Platform 4.15 | Versionen patch: 2:1.11.2-21.2.rhaos4.15.el8, patch: 1:1.29.1-20.3.rhaos4.15.el8, patch: 0:0.20.0-1.1.rhaos4.15.el8, patch: 0:1.28.0-3.1.el8, patch: 3:4.4.1-21.1.rhaos4.15.el8, patch: 0:1.28.4-8.rhaos4.15.git24f50b9.el8 |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | Versionen patch: 0:0.2.1-3.el9ost, patch: 0:3.4.26-8.el9ost |
| RHODF-4.16-RHEL-9 | Versionen patch: v4.16.0-38, patch: v4.16.0-137 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- 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