CVE-2024-24786

medium

Description

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.

References

https://security.netapp.com/advisory/ntap-20240517-0002/

https://pkg.go.dev/vuln/GO-2024-2611

https://lists.fedoraproject.org/archives/list/[email protected]/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/

https://go.dev/cl/569356

http://www.openwall.com/lists/oss-security/2024/03/08/4

Details

Source: Mitre, NVD

Published: 2024-03-05

Updated: 2024-06-10

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: Medium