SecurityContext

CVE-2020-23171: Nim-lang - Path Traversal

  • Cve: CVE-2020-23171
  • Name: Nim-lang - Path Traversal
  • 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.
  • Impact: Attackers can write files to arbitrary directories, potentially leading to code execution or system compromise.
  • Remediation: Update Nim-lang to the latest version or apply security patches addressing zip file handling.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.00656
  • Epss percentile: 0.52363
  • Assignee: [email protected]
  • Published at: 2021-08-10T17:15:07Z
  • Age in days: 1932
  • Modified at: 2026-06-17T03:04:34Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-23171
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-610Externally Controlled Reference to a Resource in Another Sphere

Public exploits

UrlSourceAdded date
https://github.com/nim-lang/zip/issues/54nvd2021-08-10

References

UrlSourceTags
https://github.com/nim-lang/zip/issues/54nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nim-lang:nim-langall versionsnonvd/v1/products/nim-lang/nim-lang

Projects

RepositoryLink kindsIndexedUrl
nim-lang/zipissuesyes/v1/repositories/nim-lang/zip

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-08-10
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts