Upstream information

CVE-2021-21373 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database
Base Score 5.9
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact High
Availability Impact None
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1185084 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP2
  • nim >= 1.2.12-bp152.4.3.1
Patchnames:
openSUSE-2021-628
SUSE Package Hub 15 SP3
  • nim >= 1.6.6-bp153.2.3.1
Patchnames:
openSUSE-2022-10095
SUSE Package Hub 15 SP4
  • nim >= 1.6.6-bp154.2.3.1
Patchnames:
openSUSE-2022-10101
openSUSE Leap 15.2
  • nim >= 1.2.12-lp152.2.3.1
Patchnames:
openSUSE-2021-618
openSUSE Leap 15.3
  • nim >= 1.6.6-bp153.2.3.1
Patchnames:
openSUSE-2022-10095
openSUSE Leap 15.4
  • nim >= 1.6.6-bp154.2.3.1
Patchnames:
openSUSE-2022-10101
openSUSE Tumbleweed
  • nim >= 1.2.12-1.7
Patchnames:
openSUSE-Tumbleweed-2024-11093


SUSE Timeline for this CVE

CVE page created: Sat Mar 27 16:53:05 2021
CVE page last modified: Tue Sep 3 19:19:37 2024