CVE-2022-1962
published 2022-08-10CVE-2022-1962: Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via…
PriorityP422medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.86%
54.1th percentile
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-1.15 | < golang-1.19 1.19~rc2-1 (bookworm) | golang-1.19 1.19~rc2-1 (bookworm) |
| debian | golang-1.19 | < golang-1.19 1.19~rc2-1 (bookworm) | golang-1.19 1.19~rc2-1 (bookworm) |
| go_standard_library | go_parser | < 1.17.12 | 1.17.12 |
| go_standard_library | go_parser | >= 1.18.0-0 < 1.18.4 | 1.18.4 |
| golang | go | < 1.17.12 | 1.17.12 |
| golang | go | >= 1.18.0 < 1.18.4 | 1.18.4 |
| msrc | azl3_gcc_13.2.0-7_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.23.7-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.23.9-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.24.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-6_on_azure_linux_3.0 | — | — |
| msrc | cbl2_golang_1.18.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_golang_1.18.5-1_on_cbl_mariner_1.0 | — | — |
| paloalto | pan-os | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
golang-1.13, golang-1.16 vulnerabilities
osv·2024-01-09·CVSS 6.5
CVE-2022-29526 [MEDIUM] golang-1.13, golang-1.16 vulnerabilities
golang-1.13, golang-1.16 vulnerabilities
USN-6038-1 fixed several vulnerabilities in Go 1.18. This update provides
the corresponding updates for Go 1.13 and Go 1.16.
CVE-2022-29526 and CVE-2022-30630 only affected Go 1.16.
Original advisory details:
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-3218
OSV
golang-1.18 vulnerabilities
osv·2023-04-25·CVSS 6.5
CVE-2022-1705 [MEDIUM] golang-1.18 vulnerabilities
golang-1.18 vulnerabilities
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-32189, CVE-2022-41715,
CVE-2022-41717, CVE-2023-24534, CVE-2023-24537)
It was discovered that Go did not properly implemented the maximum size of
file headers in Reader.Read. An attacker could possibly use this issue to
cause a
GHSA
GHSA-6mwq-4j3f-rr3x: Uncontrolled recursion in the Parse functions in go/parser before Go 1
ghsa_unreviewed·2022-08-11
CVE-2022-1962 [MEDIUM] CWE-674 GHSA-6mwq-4j3f-rr3x: Uncontrolled recursion in the Parse functions in go/parser before Go 1
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
OSV
CVE-2022-1962: Uncontrolled recursion in the Parse functions in go/parser before Go 1
osv·2022-08-10·CVSS 5.5
CVE-2022-1962 [MEDIUM] CVE-2022-1962: Uncontrolled recursion in the Parse functions in go/parser before Go 1
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
OSV
Stack exhaustion due to deeply nested types in go/parser
osv·2022-07-20
CVE-2022-1962 Stack exhaustion due to deeply nested types in go/parser
Stack exhaustion due to deeply nested types in go/parser
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.
Palo Alto
PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
vendor_paloalto·2025-07-09·CVSS 7.5
CVE-2018-6594 [HIGH] PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS. While it was not determined that these CVEs have any significant impact on PAN-OS, they have been fixed out of an abundance of caution. CVE Summary CVE-2018-6594 This CVE is fixed in PAN-OS 10.2.17, 11.1.11, 11.2.8, 12.1.2, and all later versions of PAN-OS CVE-2018-25032 This CVE is fixed in PAN-OS 10.1.7, 10.2.2, and all later versions of PAN-OS CVE-2019-5827 This CVE is fixed in PAN-OS 11.1.4, and all later versions of PAN-OS. CVE-2019-13750 This CVE is fixed in PAN-OS 11.1.4, and all later versions of PAN-OS. CVE-2019-13751 This CVE is fixed in PAN-OS 11.1.4, and all later versions
Palo Alto
PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
vendor_paloalto·2025-07-09·CVSS 7.5
CVE-2023-38546 [HIGH] PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
PAN-SA-2025-0012 Informational Bulletin: OSS CVEs Fixed in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS. While it was not determined that these CVEs have any significant impact on PAN-OS, they have been fixed out of an abundance of caution. CVE Summary CVE-2018-6594 This CVE is fixed in PAN-OS 10.2.17, 11.1.11, 11.2.8, 12.1.2, and all later versions of PAN-OS CVE-2018-25032 This CVE is fixed in PAN-OS 10.1.7, 10.2.2, and all later versions of PAN-OS CVE-2019-5827 This CVE is fixed in PAN-OS 11.1.4, and all later versions of PAN-OS. CVE-2019-13750 This CVE is fixed in PAN-OS 11.1.4, and all later versions of PAN-OS. CVE-2019-13751 This CVE is fixed in PAN-OS 11.1.4, and all later versions
Ubuntu
Go vulnerabilities
vendor_ubuntu·2024-01-09·CVSS 6.5
CVE-2022-2879 [MEDIUM] Go vulnerabilities
Title: Go vulnerabilities
Summary: Several security issues were fixed in Go.
USN-6038-1 fixed several vulnerabilities in Go 1.18. This update provides
the corresponding updates for Go 1.13 and Go 1.16.
CVE-2022-29526 and CVE-2022-30630 only affected Go 1.16.
Original advisory details:
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022
Ubuntu
Go vulnerabilities
vendor_ubuntu·2023-04-25·CVSS 6.5
CVE-2022-1962 [MEDIUM] Go vulnerabilities
Title: Go vulnerabilities
Summary: Several security issues were fixed in Go.
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-32189, CVE-2022-41715,
CVE-2022-41717, CVE-2023-24534, CVE-2023-24537)
It was discovered that Go did not properly implemented the maximum size of
file headers in Reader.Read. An
Microsoft
Stack exhaustion due to deeply nested types in go/parser
vendor_msrc·2022-08-09·CVSS 5.5
CVE-2022-1962 [MEDIUM] CWE-674 Stack exhaustion due to deeply nested types in go/parser
Stack exhaustion due to deeply nested types in go/parser
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Go: Go
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.micr
Red Hat
golang: go/parser: stack exhaustion in all Parse* functions
vendor_redhat·2022-07-12·CVSS 5.5
CVE-2022-1962 [MEDIUM] CWE-1325 golang: go/parser: stack exhaustion in all Parse* functions
golang: go/parser: stack exhaustion in all Parse* functions
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
A flaw was found in the golang standard library, go/parser. When calling any Parse functions on the Go source code, which contains deeply nested types or declarations, a panic can occur due to stack exhaustion. This issue allows an attacker to impact system availability.
Package: openshift-builds/openshift-builds-waiters-rhel8 (Builds for Red Hat OpenShift) - Not affected
Package: cert-manager/cert-manager-operator-rhel9 (cert-manager Operator for Red Hat OpenShift) - Not affected
Package: costmanagement/costmanagement-metrics-rhel8-opera
Debian
CVE-2022-1962: golang-1.15 - Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and...
vendor_debian·2022·CVSS 5.5
CVE-2022-1962 [MEDIUM] CVE-2022-1962: golang-1.15 - Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and...
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
Scope: local
bullseye: open
No detection rules found.
No public exploits indexed.
https://go.dev/cl/417063https://go.dev/issue/53616https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEhttps://pkg.go.dev/vuln/GO-2022-0515https://go.dev/cl/417063https://go.dev/issue/53616https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEhttps://pkg.go.dev/vuln/GO-2022-0515
2022-08-10
Published