{"id":"CVE-2020-8177","title":"curl 7.20.0 through 7.70.0 is vulnerable to improper restriction of names for files and other resources that can lead too overwriting a local file when the -J flag is used.","summary":"curl 7.20.0 through 7.70.0 is vulnerable to improper restriction of names for files and other resources that can lead too overwriting a local file when the -J flag is used.","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-99","CWE-74"],"vendor":"haxx","product":"curl","affected":["curl >= 7.20.0, <= 7.70.0","debian_linux = 10.0","m10-1_firmware < xcp2410","m10-4_firmware < xcp2410","m10-4s_firmware < xcp2410","m12-1_firmware < xcp2410","m12-2_firmware < xcp2410","m12-2s_firmware < xcp2410","m10-1_firmware < xcp3110","m10-4_firmware < xcp3110","m10-4s_firmware < xcp3110","m12-1_firmware < xcp3110","m12-2_firmware < xcp3110","m12-2s_firmware < xcp3110","sinec_infrastructure_network_services < 1.0.1.1","universal_forwarder >= 8.2.0, < 8.2.12","universal_forwarder >= 9.0.0, < 9.0.6","universal_forwarder = 9.1.0"],"patched":["m10-1_firmware xcp3110","m10-4_firmware xcp3110","m10-4s_firmware xcp3110","m12-1_firmware xcp3110","m12-2_firmware xcp3110","m12-2s_firmware xcp3110","sinec_infrastructure_network_services 1.0.1.1","universal_forwarder 9.0.6"],"published":"2020-12-14","updated":"2026-10-14","sourceUpdated":"2026-10-14T09:17:19.793","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-8177","references":[{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","label":"support@hackerone.com"},{"url":"https://curl.se/docs/CVE-2020-8177.html","label":"support@hackerone.com"},{"url":"https://hackerone.com/reports/887462","label":"support@hackerone.com"},{"url":"https://www.debian.org/security/2021/dsa-4881","label":"support@hackerone.com"},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","label":"support@hackerone.com"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://curl.se/docs/CVE-2020-8177.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://hackerone.com/reports/887462","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2021/dsa-4881","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd"],"epss":0.01251,"epssPercentile":0.68658,"ingestedAt":"2026-10-14T09:24:26.057Z","slug":"CVE-2020-8177","body":"## Overview\n\ncurl 7.20.0 through 7.70.0 is vulnerable to improper restriction of names for files and other resources that can lead too overwriting a local file when the -J flag is used.\n\n## Affected\n\n- `curl >= 7.20.0, <= 7.70.0`\n- `debian_linux = 10.0`\n- `m10-1_firmware < xcp2410`\n- `m10-4_firmware < xcp2410`\n- `m10-4s_firmware < xcp2410`\n- `m12-1_firmware < xcp2410`\n- `m12-2_firmware < xcp2410`\n- `m12-2s_firmware < xcp2410`\n- `m10-1_firmware < xcp3110`\n- `m10-4_firmware < xcp3110`\n- `m10-4s_firmware < xcp3110`\n- `m12-1_firmware < xcp3110`\n- `m12-2_firmware < xcp3110`\n- `m12-2s_firmware < xcp3110`\n- `sinec_infrastructure_network_services < 1.0.1.1`\n- `universal_forwarder >= 8.2.0, < 8.2.12`\n- `universal_forwarder >= 9.0.0, < 9.0.6`\n- `universal_forwarder = 9.1.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `m10-1_firmware xcp3110`\n- `m10-4_firmware xcp3110`\n- `m10-4s_firmware xcp3110`\n- `m12-1_firmware xcp3110`\n- `m12-2_firmware xcp3110`\n- `m12-2s_firmware xcp3110`\n- `sinec_infrastructure_network_services 1.0.1.1`\n- `universal_forwarder 9.0.6`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}