p PatchFirst

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.

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 | sh
Check your server for free →

Channels 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

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

Check your server →