CVE catalog

CVE-2020-27304

civetweb: CVE-2020-27304

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debiancivetwebsid1.16+dfsg-6fixed
Debiancivetwebforky1.16+dfsg-6fixed
Debiancivetwebtrixie1.16+dfsg-2+deb13u1fixed
Debiancivetwebbookworm1.15+dfsg-4fixed
Ubuntucivetweb25.101.16+dfsg-2vulnerable
Opensusecivetwebleap 15.21.15-lp152.2.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancivetwebsourcesid1.15+dfsg-1unimportantNot reportedNot reported
Debiancivetwebsourceforky1.15+dfsg-1unimportantNot reportedNot reported
Debiancivetwebsourcetrixie1.15+dfsg-1unimportantNot reportedNot reported
Debiancivetwebsourcebookworm1.15+dfsg-1unimportantNot reportedNot reported
Opensusecivetwebrpmleap 15.21.15-lp152.2.3.1Not reportedOPENSUSE-SU-2021:1424-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [civetweb]Fixed
    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

  • Source package: [civetweb]

    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

  • Source package: [civetweb]

    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · bookworm; dsa · civetweb · debian · 12

[Debian 13 (Trixie)]

  • [civetweb]Fixed
    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

  • Source package: [civetweb]

    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

  • Source package: [civetweb]

    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.15+dfsg-1

      dsa · civetweb · debian · 13

Observed:

References