Go Vulnerability Database
GO-2024-2660
Memory leak in github.com/golang-fips/openssl/v2 and github.com/microsoft/go-crypto-openssl
Details
Using crafted public RSA keys can cause a small memory leak when encrypting and verifying payloads. This can be gradually leveraged into a denial of service attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/golang-fips/openssl/v2 | All versions before 2.0.1 (fixed in 2.0.1) |
| Go | github.com/microsoft/go-crypto-openssl | All versions before 0.2.9 (fixed in 0.2.9) |