CVE-2022-41715 Affecting golang-race package, versions <0:1.18.9-1.module+el8.7.0+17640+84246675
Threat Intelligence
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-GOLANGRACE-3041630
- published 7 Oct 2022
- disclosed 4 Oct 2022
Introduced: 4 Oct 2022
CVE-2022-41715 Open this link in a new tabHow to fix?
Upgrade Centos:8
golang-race
to version 0:1.18.9-1.module+el8.7.0+17640+84246675 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-race
package and not the golang-race
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
References
- https://access.redhat.com/security/cve/CVE-2022-41715
- https://access.redhat.com/errata/RHSA-2023:0446
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THKJHFMX4DAZXJ5MFPN3BNHZDN7BW5RI/
- https://go.dev/cl/439356
- https://go.dev/issue/55949
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://pkg.go.dev/vuln/GO-2022-1039
- https://security.gentoo.org/glsa/202311-09