CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Nim-lang

CVE-2021-21374
Nim-lang Nim vulnerability

Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted 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.