CVE-2024-9355: Github.com/golang fips/openssl Golang FIPS OpenSSL Has A Vulnerability

HIGH
Advisory Identifier: GHSA-3h3x-2hwv-hr52
CVSS 6.5
CWE-457
Published
Advisory Summary

CVE-2024-9355 is a HIGH (CVSS 6.5) golang fips openssl has a vulnerability (CWE-457: Use of Uninitialized Variable) affecting Github.com/golang fips/openssl libraries in the Go ecosystem. The issue involves golang fips openssl has a use of uninitialized variable vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2024-9355 at a Glance

CVE Identifier CVE-2024-9355
GHSA Identifier GHSA-3h3x-2hwv-hr52
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-457: Use of Uninitialized Variable
Affected Product Github.com/golang fips/openssl
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2024-9355

To remediate this vulnerability, upgrade all affected Github.com/golang fips/openssl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/golang-fips/openssl fixed: Latest secure release
Upgrade github.com/golang-fips/openssl to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/golang-fips/openssl

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-9355, inspect your project dependencies for Github.com/golang fips/openssl:

inspect dependencies for github.com/golang-fips/openssl

Analyze the terminal output to locate any version of Github.com/golang fips/openssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-457: Use of Uninitialized Variable, where the code uses a variable that has not been initialized, leading to unpredictable or unintended results. In Github.com/golang fips/openssl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2024-9355 Affected Github.com/golang fips/openssl Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/golang-fips/openssl
Go
≤ 2.0.3

References

NVD — CVE-2024-9355 NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-9355
Github.com/golang fips/openssl Source Repository REPOSITORY
https://github.com/golang-fips/openssl/pull/198
Github.com/golang fips/openssl Source Repository REPOSITORY
https://github.com/github/advisory-database/pull/4950
pkg.go.dev/vuln/go-2024-3167 WEB
https://pkg.go.dev/vuln/GO-2024-3167
Github.com/golang fips/openssl Source Repository REPOSITORY
https://github.com/golang-fips/openssl
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2315719
Github.com/golang fips/openssl Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2024-9355
access.redhat.com/errata/rhsa-2026:69... WEB
https://access.redhat.com/errata/RHSA-2026:69235
access.redhat.com/errata/rhsa-2026:68... WEB
https://access.redhat.com/errata/RHSA-2026:68504
access.redhat.com/errata/rhsa-2026:66... WEB
https://access.redhat.com/errata/RHSA-2026:66016
access.redhat.com/errata/rhsa-2026:59... WEB
https://access.redhat.com/errata/RHSA-2026:59439
access.redhat.com/errata/rhsa-2026:55... WEB
https://access.redhat.com/errata/RHSA-2026:55525
access.redhat.com/errata/rhsa-2026:55... WEB
https://access.redhat.com/errata/RHSA-2026:55520
access.redhat.com/errata/rhsa-2025:76... WEB
https://access.redhat.com/errata/RHSA-2025:7624
access.redhat.com/errata/rhsa-2025:72... WEB
https://access.redhat.com/errata/RHSA-2025:7256
access.redhat.com/errata/rhsa-2025:71... WEB
https://access.redhat.com/errata/RHSA-2025:7118
access.redhat.com/errata/rhsa-2025:24... WEB
https://access.redhat.com/errata/RHSA-2025:2416
access.redhat.com/errata/rhsa-2024:95... WEB
https://access.redhat.com/errata/RHSA-2024:9551
access.redhat.com/errata/rhsa-2024:88... WEB
https://access.redhat.com/errata/RHSA-2024:8847
access.redhat.com/errata/rhsa-2024:86... WEB
https://access.redhat.com/errata/RHSA-2024:8678
access.redhat.com/errata/rhsa-2024:83... WEB
https://access.redhat.com/errata/RHSA-2024:8327
access.redhat.com/errata/rhsa-2024:75... WEB
https://access.redhat.com/errata/RHSA-2024:7550
access.redhat.com/errata/rhsa-2024:75... WEB
https://access.redhat.com/errata/RHSA-2024:7502
access.redhat.com/errata/rhsa-2024:10... WEB
https://access.redhat.com/errata/RHSA-2024:10133

Frequently Asked Questions

What is CVE-2024-9355?
CVE-2024-9355 is a security vulnerability in Github.com/golang fips/openssl involving Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability under CWE-457: Use of Uninitialized Variable.
Which Github.com/golang fips/openssl versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/golang-fips/openssl.
What version fixes CVE-2024-9355?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/golang-fips/openssl affected?
Yes, github.com/golang-fips/openssl is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-9355?
CVE-2024-9355 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2024-9355?
CVE-2024-9355 is classified under CWE-457: Use of Uninitialized Variable (The code uses a variable that has not been initialized, leading to unpredictable or unintended results.).
How can I check Go dependencies for CVE-2024-9355?
Run the dependency tree command: 'inspect dependencies for github.com/golang-fips/openssl'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3h3x-2hwv-hr52",
  "modified" : "2026-09-21T18:31:33Z",
  "published" : "2024-10-01T21:31:34Z",
  "aliases" : [ "CVE-2024-9355" ],
  "summary" : "Golang FIPS OpenSSL has a Use of Uninitialized Variable vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/golang-fips/openssl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9355"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/golang-fips/openssl/pull/198"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/pull/4950"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-3167"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/golang-fips/openssl"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2315719"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-9355"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:69235"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:68504"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:66016"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:59439"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:55525"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:55520"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:7624"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:7256"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:7118"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:2416"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:9551"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8847"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8678"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8327"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:7550"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:7502"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:10133"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-457" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-01T22:31:42Z",
    "nvd_published_at" : "2024-10-01T19:15:09Z"
  }
}