#VU52765 Improper Certificate Validation in nim - CVE-2021-21374

 

#VU52765 Improper Certificate Validation in nim - CVE-2021-21374

Published: April 29, 2021


Vulnerability identifier: #VU52765
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-21374
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
nim
Software vendor:
nim-lang.org

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to "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. A remote attacker can perform MitM attack and deliver a modified package list containing malicious software packages


Remediation

Install updates from vendor's website.

External links