
CVE catalog
CVE-2020-27304
civetweb: CVE-2020-27304
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.24% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | civetweb | sid | 1.16+dfsg-6 | fixed |
| Debian | civetweb | forky | 1.16+dfsg-6 | fixed |
| Debian | civetweb | trixie | 1.16+dfsg-2+deb13u1 | fixed |
| Debian | civetweb | bookworm | 1.15+dfsg-4 | fixed |
| Ubuntu | civetweb | 25.10 | 1.16+dfsg-2 | vulnerable |
| Opensuse | civetweb | leap 15.2 | 1.15-lp152.2.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | civetweb | source | sid | 1.15+dfsg-1 | unimportant | Not reported | Not reported |
| Debian | civetweb | source | forky | 1.15+dfsg-1 | unimportant | Not reported | Not reported |
| Debian | civetweb | source | trixie | 1.15+dfsg-1 | unimportant | Not reported | Not reported |
| Debian | civetweb | source | bookworm | 1.15+dfsg-1 | unimportant | Not reported | Not reported |
| Opensuse | civetweb | rpm | leap 15.2 | 1.15-lp152.2.3.1 | Not reported | OPENSUSE-SU-2021:1424-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [civetweb]Fixed
Details (2)
1.15+dfsg-4· amd64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
- [libcivetweb1]Fixed
Source package: [civetweb]
Details (2)
1.15+dfsg-4· amd64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
- [libcivetweb-dev]Fixed
Source package: [civetweb]
Details (2)
1.15+dfsg-4· amd64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12
[Debian 13 (Trixie)]
- [civetweb]Fixed
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
- [libcivetweb1]Fixed
Source package: [civetweb]
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
- [libcivetweb-dev]Fixed
Source package: [civetweb]
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieFixed · Fixed:
1.15+dfsg-1dsa · civetweb · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2021:4902]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-222547.json]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_1424-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-27304]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-27304]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1424-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-27304]
[CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]