CVE-2022-41715
Published: 14 October 2022
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.
Priority
Status
Package | Release | Status |
---|---|---|
golang-1.17 Launchpad, Ubuntu, Debian |
jammy |
Not vulnerable
(code not present)
|
trusty |
Ignored
(end of standard support)
|
|
xenial |
Ignored
(end of standard support)
|
|
upstream |
Needs triage
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
golang-1.18 Launchpad, Ubuntu, Debian |
bionic |
Released
(1.18.1-1ubuntu1~18.04.4)
|
focal |
Released
(1.18.1-1ubuntu1~20.04.2)
|
|
jammy |
Released
(1.18.1-1ubuntu1.1)
|
|
lunar |
Does not exist
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Needs triage
|
|
xenial |
Ignored
(end of standard support)
|
|
golang-1.19 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Not vulnerable
(1.19.2-1ubuntu1)
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Released
(1.19.2-1)
|
|
xenial |
Ignored
(end of standard support)
|
|
kinetic |
Not vulnerable
(1.19.2-1ubuntu1)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41715
- https://go.dev/issue/55949
- https://github.com/golang/go/commit/645abfe529dc325e16daa17210640c2907d1c17a (go1.19.2)
- https://github.com/golang/go/commit/e9017c2416ad0ef642f5e0c2eab2dbf3cba4d997 (go1.18.7)
- https://ubuntu.com/security/notices/USN-6038-1
- NVD
- Launchpad
- Debian