Bugzilla – Bug 1204023
VUL-0: CVE-2022-41715: go1.18,go1.19: regexp/syntax: limit memory used by parsing regexps
Last modified: 2023-02-20 08:36:57 UTC
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. Each regexp being parsed is now limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are now rejected. Normal use of regular expressions is unaffected. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. This is CVE-2022-41715 and Go issue https://go.dev/issue/55949.
This is an autogenerated message for OBS integration: This bug (1204023) was mentioned in https://build.opensuse.org/request/show/1008077 Factory / go1.18 https://build.opensuse.org/request/show/1008078 Factory / go1.19
SUSE-SU-2022:3669-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (important) Bug References: 1200441,1204023,1204024,1204025 CVE References: CVE-2022-2879,CVE-2022-2880,CVE-2022-41715 JIRA References: Sources used: openSUSE Leap 15.4 (src): go1.19-1.19.2-150000.1.12.1 openSUSE Leap 15.3 (src): go1.19-1.19.2-150000.1.12.1 SUSE Linux Enterprise Module for Development Tools 15-SP4 (src): go1.19-1.19.2-150000.1.12.1 SUSE Linux Enterprise Module for Development Tools 15-SP3 (src): go1.19-1.19.2-150000.1.12.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:3668-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (important) Bug References: 1193742,1204023,1204024,1204025 CVE References: CVE-2022-2879,CVE-2022-2880,CVE-2022-41715 JIRA References: Sources used: openSUSE Leap 15.4 (src): go1.18-1.18.7-150000.1.34.1 openSUSE Leap 15.3 (src): go1.18-1.18.7-150000.1.34.1 SUSE Linux Enterprise Module for Development Tools 15-SP4 (src): go1.18-1.18.7-150000.1.34.1 SUSE Linux Enterprise Module for Development Tools 15-SP3 (src): go1.18-1.18.7-150000.1.34.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
done
*** Bug 1208441 has been marked as a duplicate of this bug. ***