GitHub Advisoryadvisory · Go

GHSA-3h3x-2hwv-hr52 Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability

HIGH Published 2024-10-01 Modified 2026-09-21 Official page ↗
Aliases
CVE-2024-9355
Ecosystem
Go
Packages
github.com/golang-fips/openssl
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Weaknesses
CWE-457
Reviewed
2024-10-01

Affected packages

• Go github.com/golang-fips/openssl: <= 2.0.3 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-9355 A vulnerability was found in Golang FIPS OpenSSL. vulnerability

Weakness · CWE (1)

  • CWE-457 Use of Uninitialized Variable weakness

References