CVE-2020-27304
CVE-2020-27304
CVSS 9.8 · Critical · EPSS 3.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- civetwebNo fix published
- civetweb Debian 12Update to 1.15+dfsg-1
- civetweb Debian 13Update to 1.15+dfsg-1
- civetweb Debian 14Update to 1.15+dfsg-1
- and 1 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="civetweb"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2021:1424-1 · openSUSE Leap 15.2 ·
Stack: system
Affected products and versions
civetweb
- Versions
- ≥ 1.15, < unspecified: Not affected (custom)
- ≥ 1.8, < unspecified: Affected (custom)
No fix published
civetweb Debian 12
- Affected ranges
- ECOSYSTEM: < 1.15+dfsg-1
Update to 1.15+dfsg-1
civetweb Debian 13
- Affected ranges
- ECOSYSTEM: < 1.15+dfsg-1
Update to 1.15+dfsg-1
civetweb Debian 14
- Affected ranges
- ECOSYSTEM: < 1.15+dfsg-1
Update to 1.15+dfsg-1
civetweb Ubuntu 25.10
- Versions
- 1.16+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2020-27304