GHSA-78hx-gp6g-7mj6
Memory leaks in code encrypting and verifying RSA payloads
Quick fix
GHSA-78hx-gp6g-7mj6 — github.com/golang-fips/openssl/v2: upgrade to the fixed version with the command below.
go get github.com/golang-fips/openssl/v2@v2.0.1Details
Using crafted public RSA keys which are not compliant with SP 800-56B can cause a small memory leak when encrypting and verifying payloads.
An attacker can leverage this flaw to gradually erode available memory to the point where the host crashes for lack of resources. Upon restart the attacker would have to begin again, but nevertheless there is the potential to deny service.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for github.com/golang-fips/go (go modules). Pin to a known-safe version or switch to an alternative.
0Fixed in: 2.0.1go get github.com/golang-fips/openssl/v2@v2.0.10No fixed version published yet for github.com/microsoft/go-crypto-openssl (go modules). Pin to a known-safe version or switch to an alternative.
0Fixed in: 0.2.9go get github.com/microsoft/go-crypto-openssl/openssl@v0.2.9References
- https://github.com/golang-fips/openssl/security/advisories/GHSA-78hx-gp6g-7mj6[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-1394[ADVISORY]
- https://github.com/microsoft/go-crypto-openssl/commit/104fe7f6912788d2ad44602f77a0a0a62f1f259f[WEB]
- https://github.com/golang-fips/openssl/commit/85d31d0d257ce842c8a1e63c4d230ae850348136[WEB]
- https://access.redhat.com/errata/RHSA-2024:1462[WEB]
- https://access.redhat.com/errata/RHSA-2024:4378[WEB]
- https://access.redhat.com/errata/RHSA-2024:4379[WEB]
- https://access.redhat.com/errata/RHSA-2024:4502[WEB]
- https://access.redhat.com/errata/RHSA-2024:4581[WEB]
- https://access.redhat.com/errata/RHSA-2024:4591[WEB]
- https://access.redhat.com/errata/RHSA-2024:4672[WEB]
- https://access.redhat.com/errata/RHSA-2024:4699[WEB]
- https://access.redhat.com/errata/RHSA-2024:4761[WEB]
- https://access.redhat.com/errata/RHSA-2024:4762[WEB]
- https://access.redhat.com/errata/RHSA-2024:4960[WEB]
- https://access.redhat.com/errata/RHSA-2024:5258[WEB]
- https://access.redhat.com/errata/RHSA-2024:5634[WEB]
- https://access.redhat.com/errata/RHSA-2024:7262[WEB]
- https://access.redhat.com/security/cve/CVE-2024-1394[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2262921[WEB]
- https://github.com/golang-fips/openssl[PACKAGE]
- https://github.com/golang-fips/openssl/releases/tag/v2.0.1[WEB]
- https://github.com/microsoft/go-crypto-openssl/releases/tag/v0.2.9[WEB]
- https://pkg.go.dev/vuln/GO-2024-2660[WEB]
- https://vuln.go.dev/ID/GO-2024-2660.json[WEB]
- https://access.redhat.com/errata/RHSA-2024:1468[WEB]
- https://access.redhat.com/errata/RHSA-2024:1472[WEB]
- https://access.redhat.com/errata/RHSA-2024:1501[WEB]
- https://access.redhat.com/errata/RHSA-2024:1502[WEB]
- https://access.redhat.com/errata/RHSA-2024:1561[WEB]
- https://access.redhat.com/errata/RHSA-2024:1563[WEB]
- https://access.redhat.com/errata/RHSA-2024:1566[WEB]
- https://access.redhat.com/errata/RHSA-2024:1567[WEB]
- https://access.redhat.com/errata/RHSA-2024:1574[WEB]
- https://access.redhat.com/errata/RHSA-2024:1640[WEB]
- https://access.redhat.com/errata/RHSA-2024:1644[WEB]
- https://access.redhat.com/errata/RHSA-2024:1646[WEB]
- https://access.redhat.com/errata/RHSA-2024:1763[WEB]
- https://access.redhat.com/errata/RHSA-2024:1897[WEB]
- https://access.redhat.com/errata/RHSA-2024:2562[WEB]
- https://access.redhat.com/errata/RHSA-2024:2568[WEB]
- https://access.redhat.com/errata/RHSA-2024:2569[WEB]
- https://access.redhat.com/errata/RHSA-2024:2729[WEB]
- https://access.redhat.com/errata/RHSA-2024:2730[WEB]
- https://access.redhat.com/errata/RHSA-2024:2767[WEB]
- https://access.redhat.com/errata/RHSA-2024:3265[WEB]
- https://access.redhat.com/errata/RHSA-2024:3352[WEB]
- https://access.redhat.com/errata/RHSA-2024:4146[WEB]
- https://access.redhat.com/errata/RHSA-2024:4371[WEB]