Name | CVE-2022-30630 |
Description | Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.11 (PTS) | buster (security), buster, buster (lts) | 1.11.6-1+deb10u7 | fixed |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.19 (PTS) | bookworm | 1.19.8-2 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
golang | source | (unstable) | (not affected) | | | |
golang-1.11 | source | (unstable) | (not affected) | | | |
golang-1.15 | source | (unstable) | (not affected) | | | |
golang-1.17 | unknown | (unstable) | 1.17.13-1 | | | |
golang-1.18 | source | (unstable) | 1.18.4-1 | | | |
golang-1.19 | source | (unstable) | 1.19~rc2-1 | | | |
golang-1.7 | source | (unstable) | (not affected) | | | |
Notes
- golang-1.15 <not-affected> (Introduced in 1.16)
- golang-1.11 <not-affected> (Introduced in 1.16)
https://go.dev/issue/53415
https://github.com/golang/go/commit/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59 (go1.19rc2)
https://github.com/golang/go/commit/315e80d293b684ac2902819e58f618f1b5a14d49 (go1.18.4)
https://github.com/golang/go/commit/8c1d8c836270615cfb5b229932269048ef59ac07 (go1.17.12)
Introduced by https://github.com/golang/go/commit/b64202bc29b9c1cf0118878d1c0acc9cdb2308f6 (go1.16beta1)
io/fs/Glob.go introduced in 1.16; see CVE-2022-30632 for similar older code in path/filepath/
- golang <not-affected> (Vulnerable code introduced in 1.16)
- golang-1.7 <not-affected> (Vulnerable code introduced in 1.16)