Advisory

GHSA-78hx-gp6g-7mj6

Also known as: CVE-2024-1394, GO-2024-2660

Summary

Memory leaks in code encrypting and verifying RSA payloads

Details

Using crafted public RSA keys which are not compliant with SP 800-56B can cause a small memory leak when encrypting and verifying payloads.

An attacker can leverage this flaw to gradually erode available memory to the point where the host crashes for lack of resources. Upon restart the attacker would have to begin again, but nevertheless there is the potential to deny service.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-03-20 18:10 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

github.com/golang-fips/go

Go · All systems

Affected

  • introduced 0, last affected 1.22.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/golang-fips/openssl/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.1 (semver)

Fixed versions

2.0.1

Fix

github.com/microsoft/go-crypto-openssl

Go · All systems

Affected

  • introduced 0, last affected 0.2.8 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/microsoft/go-crypto-openssl/openssl

Go · All systems

Affected

  • introduced 0, fixed 0.2.9 (semver)

Fixed versions

0.2.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences