Bug 1951711 (CVE-2021-21373) - CVE-2021-21373 nim: "nimble refresh" falls back to a non-TLS URL in case of errror
Summary: CVE-2021-21373 nim: "nimble refresh" falls back to a non-TLS URL in case of e...
Alias: CVE-2021-21373
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1951712
TreeView+ depends on / blocked
Reported: 2021-04-20 19:20 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:
Last Closed: 2021-04-20 22:46:40 UTC

Attachments (Terms of Use)

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


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

Affects: fedora-all [bug 1951712]

Comment 2 Product Security DevOps Team 2021-04-20 22:46:40 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.