ADVISORIES

Go Vulnerability Database

GO-2022-0433

Stack overflow from a large amount of PEM data in encoding/pem

Details

encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.17.9 (fixed in 1.17.9)
From 1.18.0-0 before 1.18.1 (fixed in 1.18.1)

References