Loop with Unreachable Exit Condition ('Infinite Loop') Affecting golang-tests package, versions *
Threat Intelligence
EPSS
0.05% (17th
percentile)
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 ID SNYK-CENTOS8-GOLANGTESTS-6823295
- published 9 May 2024
- disclosed 5 Mar 2024
Introduced: 5 Mar 2024
CVE-2024-24786 Open this link in a new tabHow to fix?
There is no fixed version for Centos:8
golang-tests
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-tests
package and not the golang-tests
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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://access.redhat.com/security/cve/CVE-2024-24786
- https://go.dev/cl/569356
- https://pkg.go.dev/vuln/GO-2024-2611
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/
- http://www.openwall.com/lists/oss-security/2024/03/08/4
- https://security.netapp.com/advisory/ntap-20240517-0002/
CVSS Scores
version 3.1