Upstream information

CVE-2021-21372 at MITRE

Description

Nimble is a package manager for the Nim programming language. In Nim release version before versions 1.2.10 and 1.4.4, Nimble doCmd is used in different places and can be leveraged to execute arbitrary commands. An attacker can craft a malicious entry in the packages.json package list to trigger 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.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1185083 [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:02 2021
CVE page last modified: Wed Nov 13 11:45:01 2024