Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability in github.com/golang-fips/openssl
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.
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
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.
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.
05 / REFERENCES
Further evidence
- https://github.com/advisories/GHSA-3h3x-2hwv-hr52
- https://github.com/github/advisory-database/pull/4950
- https://github.com/golang-fips/openssl/pull/198
- https://access.redhat.com/errata/RHSA-2024:10133
- https://access.redhat.com/errata/RHSA-2024:7502
- https://access.redhat.com/errata/RHSA-2024:7550
- https://access.redhat.com/errata/RHSA-2024:8327
- 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-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:55520
- https://access.redhat.com/errata/RHSA-2026:55525
- https://access.redhat.com/security/cve/CVE-2024-9355
- https://bugzilla.redhat.com/show_bug.cgi?id=2315719
- https://github.com/golang-fips/openssl
- https://nvd.nist.gov/vuln/detail/CVE-2024-9355
- https://pkg.go.dev/vuln/GO-2024-3167