ADVISORIES

GitHub Advisory Database

GHSA-78hx-gp6g-7mj6

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/golang-fips/go
All versions up to and including 1.22.1
Gogithub.com/golang-fips/openssl/v2
All versions before 2.0.1 (fixed in 2.0.1)
Gogithub.com/microsoft/go-crypto-openssl
All versions up to and including 0.2.8
Gogithub.com/microsoft/go-crypto-openssl/openssl
All versions before 0.2.9 (fixed in 0.2.9)

References