Insecure Randomness Affecting github.com/satori/go.uuid package, versions =1.2.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488
  • published24 Oct 2018
  • disclosed23 Mar 2018
  • creditjosselin-c

Introduced: 23 Mar 2018

CVE-2021-3538  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

github.com/satori/go.uuid is a provides pure Go implementation of Universally Unique Identifier (UUID).

Affected versions of this package are vulnerable to Insecure Randomness producing predictable UUID identifiers due to the limited number of bytes read when using the g.rand.Read function.

Note: This vulnerability was introduced on the master branch of satori/go.uuid after version 1.2.0. This was fixed in commit d91630c8510268e75203009fe7daf2b8e1d60c45.

CVSS Scores

version 3.1