CVE-2022-41715
Last modified
CVE-2022-41715 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.18.7 |
| Golang | Go | >= 1.19.0, < 1.19.2 |
References
- https://go.dev/issue/55949Issue Tracking, Third Party Advisory
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaUMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2022-1039Vendor Advisory
- https://go.dev/issue/55949Issue Tracking, Third Party Advisory
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaUMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2022-1039Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-41715?
How severe is CVE-2022-41715?
How do I fix CVE-2022-41715?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-4171The demon image annotation plugin for WordPress is vulnerabl…7.5
- CVE-2022-41710Markdownify version 1.4.1 allows an external attacker to rem…5.5
- CVE-2022-41711Badaso version 2.6.0 allows an unauthenticated remote attack…9.8
- CVE-2022-41712Frappe version 14.10.0 allows an external attacker to remote…6.5
- CVE-2022-41713deep-object-diff version 1.1.0 allows an external attacker t…5.3
- CVE-2022-41714fastest-json-copy version 1.0.1 allows an external attacker …5.3
- CVE-2022-41716Due to unsanitized NUL values, attackers may be able to mali…7.5
- CVE-2022-41717An attacker can cause excessive memory growth in a Go server…5.3
- CVE-2022-41718Rejected reason: reserved but not needed
- CVE-2022-41719Unmarshal can panic on some inputs, possibly allowing for de…7.5
- CVE-2022-4172An integer overflow and buffer overflow issues were found in…6.5
- CVE-2022-41720On Windows, restricted files can be accessed via os.DirFS an…7.5
Are you affected by CVE-2022-41715?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
