UBUNTU-CVE-2020-27304

Source
https://ubuntu.com/security/CVE-2020-27304
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27304.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-27304
Upstream
Published
2021-10-21T16:15:00Z
Modified
2026-09-07T03:45:02Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:25.10 / civetweb

Package

Name
civetweb
Purl
pkg:deb/ubuntu/civetweb?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.16+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "civetweb",
            "binary_version": "1.16+dfsg-2"
        },
        {
            "binary_name": "libcivetweb1",
            "binary_version": "1.16+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27304.json"