CVE-2022-41715

Aliases:GO-2022-1039BIT-golang-2022-41715
Modified
Published: 14 Oct 2022, 00:00
Last modified:13 Feb 2025, 16:33

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Oct 2022, 00:00
Published
Vulnerability first disclosed
13 Feb 2025, 16:33
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.02% Percentile: 4%

Affected Systems

  • go standard libraryregexp/syntax

    < 1.18.7 | ≥ 1.19.0-0, < 1.19.2

  • golanggo

    < 1.18.7 | ≥ 1.19.0, < 1.19.2

  • Gostdlib

    ≥ 1.19.0-0, < 1.19.2

References (5)