CVE-2021-42342
CVE-2021-42342 is a critical-severity vulnerability in Embedthis Goahead with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 59% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-434.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 59% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-434
- Affected product: Embedthis Goahead
- Published:
- Last modified:
Description
An issue was discovered in GoAhead 4.x and 5.x before 5.1.5. In the file upload filter, user form variables can be passed to CGI scripts without being prefixed with the CGI prefix. This permits tunneling untrusted environment variables into vulnerable CGI scripts.
Frequently asked questions
- What is CVE-2021-42342?
- An issue was discovered in GoAhead 4.x and 5.x before 5.1.5. In the file upload filter, user form variables can be passed to CGI scripts without being prefixed with the CGI prefix. This permits tunneling untrusted environment variables into vulnerable CGI scripts.
- How severe is CVE-2021-42342?
- CVE-2021-42342 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-42342 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 59% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-42342?
- CVE-2021-42342 affects Embedthis Goahead. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-42342?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2021-42342 published?
- CVE-2021-42342 was published on 2021-10-14 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:embedthis:goahead:*:*:*:*:*:*:*:*
More vulnerabilities in Embedthis Goahead
- CVE-2021-41615 — Critical (CVSS 9.8): websda.c in GoAhead WebServer 2.1.8 has insufficient nonce entropy because the nonce calculation relies on the…
- CVE-2021-43298 — Critical (CVSS 9.8): The code that performs password matching when using 'Basic' HTTP authentication does not use a constant-time memcmp and…
- CVE-2019-5096 — Critical (CVSS 9.8): An exploitable code execution vulnerability exists in the processing of multi-part/form-data requests within the base…
- CVE-2017-1000471 — Critical (CVSS 9.8): EmbedThis GoAhead Webserver version 4.0.0 is vulnerable to a NULL pointer dereference in the CGI handler resulting in…
- CVE-2017-5674 — Critical (CVSS 9.8): A vulnerability in a custom-built GoAhead web server used on Foscam, Vstarcam, and multiple white-label IP camera…
- CVE-2020-15688 — High (CVSS 8.8): The HTTP Digest Authentication in the GoAhead web server before 5.1.2 does not completely protect against replay…
All CVEs affecting Embedthis Goahead →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-75949 — Critical (CVSS 10.0): Joomla Extension - cmsjunkie.com - Arbitrary file upload / deletion (path traversal) in J-BusinessDirectory < 6.2.3 -…
- CVE-2026-74803 — Critical (CVSS 10.0): Joomla Extension - yootheme.com - Unauthenticated arbitrary file upload in Zoo < 4.1.64 - The image element accepts…
- CVE-2026-66665 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in Type Hub <= 2.0.6 versions.
- CVE-2026-61900 — Critical (CVSS 10.0): Joomla Extension - dj-extensions.com - Unauthenticated arbitrary file upload in DJ-jDownloads < 4.1.6 - The Joomla…
- CVE-2026-61424 — Critical (CVSS 10.0): Joomla Extension - dj-extensions.com - Unauthenticated arbitrary file upload in DJ-Classifieds < 3.11.2 - The Joomla…
- CVE-2026-57719 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in CodeRevolution Aimogen Pro aimogen-pro allows Using…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →