NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-9355: Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability

highCVSS 4.0 7.6 · 3.1 6.5GHSA-3h3x-2hwv-hr52

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

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