GitHub Advisoryadvisory · Go
GHSA-78hx-gp6g-7mj6 Memory leaks in code encrypting and verifying RSA payloads
HIGH
Official page ↗
- Aliases
- CVE-2024-1394
- Ecosystem
- Go
- Packages
- github.com/golang-fips/go, github.com/golang-fips/openssl/v2, github.com/microsoft/go-crypto-openssl, github.com/microsoft/go-crypto-openssl/openssl
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-401
- Reviewed
- 2024-03-20
Affected packages
• Go github.com/golang-fips/go: <= 1.22.1 (no fix yet)
• Go github.com/golang-fips/openssl/v2: < 2.0.1 → fixed in 2.0.1
• Go github.com/microsoft/go-crypto-openssl: <= 0.2.8 (no fix yet)
• Go github.com/microsoft/go-crypto-openssl/openssl: < 0.2.9 → fixed in 0.2.9
Description
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.
Related
Alias · CVE (1)
- 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… vulnerability
References
- 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