CVE-2022-24921

Public on 2022-03-05
Modified on 2023-12-18
Description

A stack overflow flaw was found in Golang's regexp module, which can crash the runtime if the application using regexp accepts very long or arbitrarily long regexps from untrusted sources that have sufficient nesting depths. To exploit this vulnerability, an attacker would need to send large regexps with deep nesting to the application. Triggering this flaw leads to a crash of the runtime, which causes a denial of service.

Severity
Important
See what this means
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 golang 2022-09-21 ALAS-2022-1635
Amazon Linux 2 - Core golang 2022-07-15 ALAS2-2022-1811
Amazon Linux 2 - Core golang 2022-08-08 ALAS2-2022-1830
Amazon Linux 2 - Core golang 2022-04-27 ALAS2-2022-1776
Amazon Linux 2023 golang 2023-03-22 ALAS2023-2023-048

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv2 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H