LowGO-2021-0103CVE-2020-26242GHSA-jm5c-rv3w-w83m

Denial of service in github.com/holiman/uint256

Published 28 Jul 2021 · Updated 20 May 2024

Is your project on an affected github.com/holiman/uint256?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=0.1.0 <1.1.1
Fixed in
1.1.1
Update to the fixed version for your release line, for example:go get github.com/holiman/uint256@v1.1.1

Details

Due to improper bounds checking, certain mathematical operations can cause a panic via an out of bounds read. If this package is used to process untrusted user inputs, this may be used as a vector for a denial of service attack.

Is GO-2021-0103 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/holiman/uint256, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.