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.
CVE-2024-24786 - Medium Severity Vulnerability
Go support for Google's protocol buffers
Library home page: https://proxy.golang.org/github.com/protocolbuffers/protobuf-go/@v/v1.21.0.zip
Dependency Hierarchy: - k8s.io/kubernetes/pkg/registry/batch/job-v1.13.12 (Root Library) - k8s.io/apiserver/pkg/registry/generic-v0.17.4 - k8s.io/apiserver/pkg/storage/storagebackend-v0.17.4 - go.etcd.io/etcd/clientv3 - go.etcd.io/etcd/clientv3/balancer/picker - github.com/grpc/grpc-go-v1.29.1 - github.com/grpc/grpc-go-v1.29.1 - github.com/grpc/grpc-go-v1.29.1 - github.com/grpc/grpc-go-v1.29.1 - github.com/golang/protobuf/ptypes/duration-v1.4.0 - :x: **github.com/protocolbuffers/protobuf-go-v1.21.0** (Vulnerable Library)
Found in HEAD commit: 50a539d66e7a2f790cf8a8d8d1471993698c9adc
Found in base branch: master
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.
Publish Date: 2024-03-05
URL: CVE-2024-24786
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://pkg.go.dev/vuln/GO-2024-2611
Release Date: 2024-03-05
Fix Resolution: v1.33.0
Step up your Open Source Security Game with Mend here