[GO-2022-0515] Stack exhaustion due to deeply nested types in go/parser
Severity
Medium
Affected Packages
2
Fixed Packages
2
CVEs
1
Calling any of the Parse functions on Go source code which contains deeply
nested types or declarations can cause a panic due to stack exhaustion.
Package | Affected Version |
---|---|
pkg:golang/go/parser | >= 1.18.3, < 1.17.12 |
pkg:golang/go/parser | >= 1.18.3, < 1.18.4 |
Package | Fixed Version |
---|---|
pkg:golang/go/parser | = 1.17.12 |
pkg:golang/go/parser | = 1.18.4 |
- ID
- GO-2022-0515
- Severity
- medium
- Severity from
- CVE-2022-1962
- URL
- https://pkg.go.dev/vuln/GO-2022-0515
- Published
-
2022-08-12T17:19:52
(2 years ago) - Modified
-
2024-07-17T19:54:18
(2 months ago) - Other Advisories
-
- ALAS-2022-1635
- ALAS2-2022-1846
- ALAS2-2022-1847
- ALAS2-2022-1858
- ALAS2-2022-1859
- ALAS2-2022-1860
- ALAS2-2022-1861
- ALAS2-2022-1862
- ALAS2-2022-1863
- ALAS2-2022-1864
- ALAS2-2022-1865
- ALPINE:CVE-2022-1962
- ALSA-2022:5775
- ALSA-2022:5799
- ALSA-2022:7519
- ALSA-2022:7529
- ALSA-2022:8057
- ALSA-2023:2758
- ALSA-2023:2802
- ELSA-2022-23681
- ELSA-2022-24267
- ELSA-2022-5775
- ELSA-2022-5799
- ELSA-2022-7519
- ELSA-2022-7529
- ELSA-2022-8057
- ELSA-2023-2758
- ELSA-2023-2802
- FEDORA-2022-30c5ed5625
- FREEBSD:A4F2416C-02A0-11ED-B817-10C37B4AC2EA
- MS:CVE-2022-1962
- RHSA-2022:5775
- RHSA-2022:5799
- RHSA-2022:7519
- RHSA-2022:7529
- RHSA-2022:8057
- RHSA-2023:2758
- RHSA-2023:2802
- RLSA-2022:5775
- RLSA-2022:7519
- RLSA-2022:7529
- RLSA-2022:8057
- SUSE-SU-2022:2671-1
- SUSE-SU-2022:2672-1
- SUSE-SU-2023:2312-1
- USN-6038-1
Type | Package URL | Namespace | Name / Product | Version | Distribution / Platform | Arch | Patch / Fix |
---|---|---|---|---|---|---|---|
Fixed | pkg:golang/go/parser | go | parser | = 1.17.12 | |||
Affected | pkg:golang/go/parser | go | parser | >= 1.18.3 < 1.17.12 | |||
Fixed | pkg:golang/go/parser | go | parser | = 1.18.4 | |||
Affected | pkg:golang/go/parser | go | parser | >= 1.18.3 < 1.18.4 |
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | Exploits | PoC | Pubblication Date | Modification Date |
---|---|---|---|---|---|---|---|---|---|---|---|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | PoC | Pubblication Date | Modification Date |