Upstream information

CVE-2021-21374 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 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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 8.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1185085 [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 GA nim-1.2.12-1.7


SUSE Timeline for this CVE

CVE page created: Sat Mar 27 16:53:07 2021
CVE page last modified: Tue May 23 18:04:20 2023