{"id":"CVE-2020-23171","aliases":["EUVD-2020-15924","GHSA-3phc-v747-949q","UBUNTU-CVE-2020-23171"],"status":"published","title":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to...","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00656,"percentile":0.51866,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-610"],"published":"2021-08-10T15:06:18Z","modified":"2026-10-17T12:56:55Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2+dfsg1-4","0.12.0-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.2-1ubuntu1","0.17.2-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.2-1","1.0.2-1","1.0.3~rc-1","1.0.4-1","1.0.6-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.14-1","1.6.14-1ubuntu1","1.6.14-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.14-1ubuntu2","2.2.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-2","2.2.10-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"nim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-1","2.2.4-2"]}],"products":[{"vendor":"nim-lang","product":"nim-lang"}],"references":[{"url":"https://github.com/nim-lang/zip/issues/54","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-23171"},{"url":"https://github.com/advisories/GHSA-3phc-v747-949q"},{"url":"https://ubuntu.com/security/CVE-2020-23171","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-23171","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-23171","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","status":"published","published":"2021-08-10T15:06:18Z","modified":"2024-08-04T14:58:13.92Z","updated_at":"2026-11-02T14:35:49.209579Z"}],"euvd":[{"id":"EUVD-2020-15924","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","status":"published","published":"2021-08-10T15:06:18Z","modified":"2024-08-04T14:58:13Z","updated_at":"2026-11-03T03:07:22.274854Z"}],"ghsa":[{"id":"GHSA-3phc-v747-949q","title":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to...","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","status":"published","published":"2022-05-24T19:10:34Z","modified":"2023-01-30T05:01:18Z","cwes":["CWE-610"],"updated_at":"2026-11-02T14:46:22.963176Z"}],"nvd":[{"id":"CVE-2020-23171","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","status":"published","published":"2021-08-10T17:15:07Z","modified":"2026-06-17T03:04:34.02Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"UBUNTU-CVE-2020-23171","description":"A vulnerability in all versions of Nim-lang allows unauthenticated attackers to write files to arbitrary directories via a crafted zip file with dot-slash characters included in the name of the crafted file.","status":"published","published":"2021-08-10T17:15:00Z","modified":"2026-10-17T12:56:55.27459249Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:23.905183Z"}]}}
