CVE-2024-9355: Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability
A vulnerability was found in Golang FIPS OpenSSL. This flaw allows a malicious user to randomly cause an uninitialized buffer length variable with a zeroed buffer to be returned in FIPS mode. It may also be possible to force a false positive match between non-equal hashes when comparing a trusted computed hmac sum to an untrusted input sum if an attacker can send a zeroed buffer in place of a pre-computed sum.
Published Oct 1, 2024 · Updated Sep 21, 2026
Affected packages
github.com/golang-fips/openssl
- Ecosystem
- Go
- Affected
- <= 2.0.3
- Fixed in
- No patched version yet
- Check
go list -m github.com/golang-fips/openssl
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in Golang FIPS OpenSSL. This flaw allows a malicious user to randomly cause an uninitialized buffer length variable with a zeroed buffer to be returned in FIPS mode. It may also be possible to force a false positive match between non-equal hashes when comparing a trusted computed hmac sum to an untrusted input sum if an attacker can send a zeroed buffer in place of a pre-computed sum. It is also possible to force a derived key to be all zeros instead of an unpredictable value. This may have follow-on implications for the Go TLS stack.
Credited to qmuntal.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9355
- https://access.redhat.com/security/cve/CVE-2024-9355
- https://bugzilla.redhat.com/show_bug.cgi?id=2315719
- https://access.redhat.com/errata/RHSA-2024:7502
- https://access.redhat.com/errata/RHSA-2024:7550
- https://pkg.go.dev/vuln/GO-2024-3167
- https://access.redhat.com/errata/RHSA-2024:8327
- https://github.com/github/advisory-database/pull/4950
- https://github.com/golang-fips/openssl/pull/198
- https://access.redhat.com/errata/RHSA-2024:8678
- https://access.redhat.com/errata/RHSA-2024:8847
- https://access.redhat.com/errata/RHSA-2024:9551
- https://access.redhat.com/errata/RHSA-2024:10133
- https://access.redhat.com/errata/RHSA-2025:2416
- https://access.redhat.com/errata/RHSA-2025:7118
- https://access.redhat.com/errata/RHSA-2025:7256
- https://access.redhat.com/errata/RHSA-2025:7624
- https://access.redhat.com/errata/RHSA-2026:55525
- https://access.redhat.com/errata/RHSA-2026:55520
- https://access.redhat.com/errata/RHSA-2026:59439
- https://access.redhat.com/errata/RHSA-2026:66016
- https://access.redhat.com/errata/RHSA-2026:68504
- https://access.redhat.com/errata/RHSA-2026:69235
- https://github.com/advisories/GHSA-3h3x-2hwv-hr52
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
