GO-2022-0956

Source
https://pkg.go.dev/vuln/GO-2022-0956
Import Source
https://vuln.go.dev/ID/GO-2022-0956.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0956
Aliases
Related
Published
2022-08-29T22:15:46Z
Modified
2024-05-20T16:03:47Z
Summary
Excessive resource consumption in gopkg.in/yaml.v2
Details

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

References

Affected packages

Go / gopkg.in/yaml.v2

Package

Name
gopkg.in/yaml.v2
View open source insights on deps.dev
Purl
pkg:golang/gopkg.in/yaml.v2

Affected ranges

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

Ecosystem specific

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