Advisory

GHSA-29c6-3hcj-89cf

Also known as: CVE-2025-25199, GO-2025-3461

Summary

go-crypto-winnative BCryptGenerateSymmetricKey memory leak

Details

Calls to cng.TLS1PRF don't release the key handle, producing a small memory leak every time.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-02-12 19:20 UTC
Modified
2025-03-03 19:42 UTC

Affected packages and fixes

github.com/microsoft/go-crypto-winnative

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20250211154640-f49c8e1379ea (semver)

Fixed versions

0.0.0-20250211154640-f49c8e1379ea

Fix

  • Fixed version 0.0.0-20250211154640-f49c8e1379ea
    go get github.com/microsoft/[email protected]

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