Advisory
UBUNTU-CVE-2022-41715
Also known as: CVE-2022-41715
Summary
The record has no summary.
Details
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.
Severity
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Dates
- Published
- 2022-10-14 15:16 UTC
- Modified
- 2026-02-04 03:56 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| golang-1.10 | Debian packages (deb) · Ubuntu 14.04 | introduced 0 | No fixed version is listed. |
| golang-1.10 | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| golang-1.6 | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| golang-1.18 | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| golang-1.10 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| golang-1.8 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| golang-1.9 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| golang-1.18 | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| golang-1.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| golang-1.14 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| golang-1.18 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2022-41715
- https://go.dev/issue/55949
- https://github.com/golang/go/commit/645abfe529dc325e16daa17210640c2907d1c17a
- https://github.com/golang/go/commit/e9017c2416ad0ef642f5e0c2eab2dbf3cba4d997
- https://ubuntu.com/security/notices/USN-6038-1
- https://www.cve.org/CVERecord?id=CVE-2022-41715
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0