CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Nim-lang

CVE-2021-21372
Nim-lang Nim vulnerability

Nimble is a package manager for the Nim programming language. In Nim release version before versions 1.2.10 and 1.4.4, Nimble doCmd is used in different places and can be leveraged to execute arbitrary commands. An attacker can craft a malicious entry in the packages.json package list to trigger code execution.

Affected products

Nim. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nim-lang Nim runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Nim-lang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.