Files
CVEs-PoC/2021/CVE-2021-21373.md
T
2024-05-25 21:48:12 +02:00

18 lines
1.0 KiB
Markdown

### [CVE-2021-21373](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21373)
![](https://img.shields.io/static/v1?label=Product&message=security&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-348%20Use%20of%20Less%20Trusted%20Source&color=brighgreen)
### Description
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 by default. In case of error it falls back to a non-TLS URL http://irclogs.nim-lang.org/packages.json. 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.
### POC
#### Reference
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
#### Github
No PoCs found on GitHub currently.