VDB
Sign up
HIGH7.5

GO-2022-0433

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

Quick fix

GO-2022-0433 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.17.9

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.17.9
Fixgo get stdlib@v1.17.9

References