{"id":"UBUNTU-CVE-2020-27304","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","modified":"2026-09-07T03:45:02.804606687Z","published":"2021-10-21T16:15:00Z","upstream":["CVE-2020-27304"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27304"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-27304"}],"affected":[{"package":{"name":"civetweb","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/civetweb?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}