spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.79k stars 498 forks source link

fix: fixed vulnerable protobuf version 1.31.0. See CVE-2024-24786 #425

Open manuelkasiske4idealo opened 1 month ago

manuelkasiske4idealo commented 1 month ago

CVE-2024-24786, Score: 7.5

In the package google.golang.org/protobuf versions prior to 1.33.0, the "protojson.Unmarshal" function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a "google.protobuf.Any" value, or when the "UnmarshalOptions.DiscardUnknown" option is set.

https://devhub.checkmarx.com/cve-details/CVE-2024-24786/

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.