Bug 1951717 (CVE-2021-21374) - CVE-2021-21374 nim: Improper verification of the SSL/TLS certificate
Summary: CVE-2021-21374 nim: Improper verification of the SSL/TLS certificate
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21374
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1951718
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-20 19:25 UTC by Pedro Sampaio
Modified: 2021-04-20 22:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-20 22:46:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-04-20 19:25:32 UTC
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.

https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
https://github.com/nim-lang/Nim/pull/16940
https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx

Comment 1 Pedro Sampaio 2021-04-20 19:25:58 UTC
Created nim tracking bugs for this issue:

Affects: fedora-all [bug 1951718]

Comment 2 Product Security DevOps Team 2021-04-20 22:46:44 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.