GO-2021-0061

Source
https://pkg.go.dev/vuln/GO-2021-0061
Import Source
https://vuln.go.dev/ID/GO-2021-0061.json
Aliases
Published
2021-04-14T20:04:52Z
Modified
2023-11-08T04:07:05.773168Z
Summary
Denial of service in gopkg.in/yaml.v2
Details

Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

References

Affected packages

Go / gopkg.in/yaml.v2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
2.2.3

Ecosystem specific

{
    "imports": [
        {
            "path": "gopkg.in/yaml.v2",
            "symbols": [
                "Decoder.Decode",
                "Unmarshal",
                "UnmarshalStrict",
                "decoder.unmarshal"
            ]
        }
    ]
}

Go / github.com/go-yaml/yaml

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/go-yaml/yaml",
            "symbols": [
                "Decoder.Decode",
                "Unmarshal",
                "UnmarshalStrict",
                "decoder.unmarshal"
            ]
        }
    ]
}