Name | CVE-2022-24921 |
Description | regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-2985-1, DLA-2986-1 |
NVD severity | medium |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang-1.11 (PTS) | buster, buster (security) | 1.11.6-1+deb10u4 | vulnerable |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.17 (PTS) | bookworm, sid | 1.17.9-1 | fixed |
golang-1.18 (PTS) | bookworm | 1.18.1-1 | fixed |
| sid | 1.18.2-2 | fixed |
golang-1.7 (PTS) | stretch | 1.7.4-2+deb9u1 | vulnerable |
| stretch (security) | 1.7.4-2+deb9u5 | fixed |
golang-1.8 (PTS) | stretch | 1.8.1-1+deb9u1 | vulnerable |
| stretch (security) | 1.8.1-1+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - golang-1.11 <no-dsa> (Minor issue)
https://github.com/golang/go/issues/51112
https://groups.google.com/g/golang-announce/c/RP1hfrBYVuk
https://github.com/golang/go/commit/ac071634c487eb6ac5422652de3c7c18fba7c522 (go1.17.8)
https://github.com/golang/go/commit/452f24ae94f38afa3704d4361d91d51218405c0a (go1.18rc1)