VDB
Sign up
HIGH7.5

GHSA-6q6q-88xp-6f2r

yaml package for Go can consume excessive amounts of CPU or memory

Quick fix

GHSA-6q6q-88xp-6f2r — gopkg.in/yaml.v2: upgrade to the fixed version with the command below.

go get gopkg.in/yaml.v2@v2.2.4

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/gopkg.in/yaml.v2
Introduced in: 0Fixed in: 2.2.4
Fixgo get gopkg.in/yaml.v2@v2.2.4

References