GO-2021-0067

See a problem?
Source
https://pkg.go.dev/vuln/GO-2021-0067
Import Source
https://vuln.go.dev/ID/GO-2021-0067.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0067
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Panic when opening archives in archive/zip
Details

Using Reader.Open on an archive containing a file with a path prefixed by "../" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.

References

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.16.0-0
Fixed
1.16.1

Ecosystem specific

{
    "imports": [
        {
            "path": "archive/zip",
            "symbols": [
                "toValidName"
            ]
        }
    ]
}