CVE-2020-27304
publishedcivetweb: directory traversal when using the built-in example HTTP form-based file upload mechanism via the mg_handle_form_request API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| civetweb_project | — | civetweb1.15 to < unspecified (unaffected · custom) · 1.8 to < unspecified (affected · custom) | Version-specific | Not stated | VDOO |
| SUSE / openSUSE | openSUSE-Leap-15.2 | civetwebx86_64 | Advisory build | 1.15-lp152.2.3.1 | OPENSUSE-SU-2021:1424-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | civetweb-develx86_64 | Advisory build | 1.15-lp152.2.3.1 | OPENSUSE-SU-2021:1424-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libcivetweb-cpp1_15_0x86_64 | Advisory build | 1.15-lp152.2.3.1 | OPENSUSE-SU-2021:1424-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | libcivetweb1_15_0x86_64 | Advisory build | 1.15-lp152.2.3.1 | OPENSUSE-SU-2021:1424-1 |
Description
The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| civetweb_project | civetweb | 1.15 to < unspecified (unaffected · custom)1.8 to < unspecified (affected · custom) | VDOO · cna |
Weaknesses
1- CWE-23
References
4Provider assertions
2VDOO · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ec9c781562959ab25923d440e5a78c4aa694b7e1316baac4796c2db609aef610
- Ingested
- 23 Sep 2026, 07:49:56 UTC
- Source record
- Official CVE record