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.test.osv.dev/v1/vulns/UBUNTU-CVE-2020-27304
Upstream
Published
2021-10-21T16:15:00Z
Modified
2026-01-20T17:14:06.706165Z
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 mghandleform_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:22.04:LTS / civetweb

Package

Name
civetweb
Purl
pkg:deb/ubuntu/civetweb@1.15+dfsg-3?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.13+dfsg-5
1.15+dfsg-1
1.15+dfsg-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.15+dfsg-3",
            "binary_name": "civetweb"
        },
        {
            "binary_version": "1.15+dfsg-3",
            "binary_name": "libcivetweb-dev"
        },
        {
            "binary_version": "1.15+dfsg-3",
            "binary_name": "libcivetweb1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / civetweb

Package

Name
civetweb
Purl
pkg:deb/ubuntu/civetweb@1.16+dfsg-1build1?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.16+dfsg-1
1.16+dfsg-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.16+dfsg-1build1",
            "binary_name": "civetweb"
        },
        {
            "binary_version": "1.16+dfsg-1build1",
            "binary_name": "libcivetweb-dev"
        },
        {
            "binary_version": "1.16+dfsg-1build1",
            "binary_name": "libcivetweb1"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / civetweb

Package

Name
civetweb
Purl
pkg:deb/ubuntu/civetweb@1.16+dfsg-2?arch=source&distro=questing

Affected ranges

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

Affected versions

1.*
1.16+dfsg-2

Ecosystem specific

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

Database specific

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