9.8

CVE-2020-27304: civetweb_project civetweb Relative Path Traversal

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2020-27304DEBIAN-CVE-2020-27304openSUSE-SU-2021:1424-1
Published 21-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2020-27304 is a critical (CVSS 9.8) Relative Path Traversal vulnerability in civetweb_project civetweb. EPSS estimates a 3.24% chance of exploitation in the next 30 days, higher than 88.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
3.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 21-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

3.24%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

0.00 pp

From 3.24% on 18-09-2026

18-09-202618-10-2026
EPSS score
3.24%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (jfrog.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Civetweb_project1 product
  • civetweb≥ 1.8, < unspecified | ≥ 1.8, < 1.15
Debian1 product
  • civetweb< 1.15+dfsg-1
Opensuse1 product
  • civetweb&distro=openSUSE Leap 15.2< 1.15-lp152.2.3.1
Siemens1 product
Ubuntu1 product
  • civetwebAll versions (No fix recorded)

5 vendors · 5 products

References

11 links
Show all 11 references