Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.18.7 |
References
- https://go.dev/cl/439356Patch
- https://go.dev/issue/55949Issue TrackingThird Party Advisory
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaUMailing ListRelease Notes
- https://pkg.go.dev/vuln/GO-2022-1039Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://go.dev/cl/439356Patch
- https://go.dev/issue/55949Issue TrackingThird Party Advisory
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaUMailing ListRelease Notes
- https://pkg.go.dev/vuln/GO-2022-1039Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
FAQ
What is CVE-2022-41715?
CVE-2022-41715 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2022-41715?
CVE-2022-41715 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-41715?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.