Advisory

GO-2022-0244

Also known as: CVE-2021-3538, GHSA-33m6-q9v5-62r7

Summary

Insufficient randomness in UUIDs in github.com/satori/go.uuid

Details

Random data used to create UUIDs can contain zeros, resulting in predictable UUIDs and possible collisions.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:06 UTC
Modified
2026-03-13 21:57 UTC

Affected packages and fixes

github.com/satori/go.uuid

Go · All systems

Affected

  • introduced 1.2.1-0.20180103161547-0ef6afb2f6cd, fixed 1.2.1-0.20180404165556-75cca531ea76 (semver)

Fixed versions

1.2.1-0.20180404165556-75cca531ea76

Fix

  • Fixed version 1.2.1-0.20180404165556-75cca531ea76
    go get github.com/satori/[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: Go Vulnerability Database · CC BY 4.0

Sources & licences