Stack-based Buffer Overflow Affecting github.com/protocolbuffers/protobuf-go/encoding/protojson package, versions <1.32.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROTOCOLBUFFERSPROTOBUFGOENCODINGPROTOJSON-6137907
  • published22 Dec 2023
  • disclosed21 Dec 2023
  • creditjhump

Introduced: 21 Dec 2023

CVE NOT AVAILABLE CWE-121  (opens in a new tab)

How to fix?

Upgrade github.com/protocolbuffers/protobuf-go/encoding/protojson to version 1.32.0 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when processing input that uses pathologically deep nesting.

CVSS Scores

version 3.1