GO-2020-0016

Source
https://pkg.go.dev/vuln/GO-2020-0016
Import Source
https://vuln.go.dev/ID/GO-2020-0016.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0016
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Infinite loop in github.com/ulikunitz/xz
Details

An attacker can construct a series of bytes such that calling Reader.Read on the bytes could cause an infinite loop. If parsing user supplied input, this may be used as a denial of service vector.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0016"
}
References
Credits
    • @0xdecaf

Affected packages

Go / github.com/ulikunitz/xz

Package

Name
github.com/ulikunitz/xz
View open source insights on deps.dev
Purl
pkg:golang/github.com/ulikunitz/xz

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.8

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/ulikunitz/xz",
            "symbols": [
                "Reader.Read",
                "blockHeader.UnmarshalBinary",
                "readUvarint",
                "streamReader.Read"
            ]
        }
    ]
}