Ubuntu CVE Tracker
UBUNTU-CVE-2024-34158
Details
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.18 | All versions before 1.18.1-1ubuntu1~16.04.6+esm1 (fixed in 1.18.1-1ubuntu1~16.04.6+esm1) |
| Ubuntu:16.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.6 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.18 | All versions before 1.18.1-1ubuntu1~18.04.4+esm1 (fixed in 1.18.1-1ubuntu1~18.04.4+esm1) |
| Ubuntu:18.04:LTS | golang-1.8 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.9 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.18 | All versions before 1.18.1-1ubuntu1~20.04.3 (fixed in 1.18.1-1ubuntu1~20.04.3) |
| Ubuntu:20.04:LTS | golang-1.22 | All versions before 1.22.2-2~20.04.2 (fixed in 1.22.2-2~20.04.2) |
| Ubuntu:20.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.14 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.17 | All versions before 1.17.13-3ubuntu1.3 (fixed in 1.17.13-3ubuntu1.3) |
| Ubuntu:22.04:LTS | golang-1.18 | All versions before 1.18.1-1ubuntu1.2 (fixed in 1.18.1-1ubuntu1.2) |
| Ubuntu:22.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.22 | All versions before 1.22.2-2~22.04.2 (fixed in 1.22.2-2~22.04.2) |
| Ubuntu:Pro:22.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.22 | All versions before 1.22.2-2ubuntu0.3 (fixed in 1.22.2-2ubuntu0.3) |
References
- https://ubuntu.com/security/CVE-2024-34158
- https://www.cve.org/CVERecord?id=CVE-2024-34158
- https://groups.google.com/g/golang-announce/c/K-cEzDeCtpc
- https://github.com/golang/go/commit/032ac075c20c01c6c35a672d1542d3e98eab84ea
- https://github.com/golang/go/commit/d4c53812e6ce2ac368173d7fcd31d0ecfcffb002
- https://go.dev/cl/611240
- https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- https://pkg.go.dev/vuln/GO-2024-3107
- https://ubuntu.com/security/notices/USN-7081-1
- https://ubuntu.com/security/notices/USN-7109-1
- https://ubuntu.com/security/notices/USN-7111-1