Improper Certificate Validation in nim - CVE-2021-21374

 

Improper Certificate Validation in nim - CVE-2021-21374

Published: April 29, 2021


Vulnerability identifier: #VU52765
CSH Severity: High
CVSS v4: 9.2 [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]
CVE-ID: CVE-2021-21374
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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


Affected software

nim
Arch Linux

How to mitigate CVE-2021-21374

Install updates from vendor's website.

nim - addressed in versions 1.2.10, 1.4.4

External References

Related Security Bulletins