Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2021-21372
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-26 Mar, 2021 | 21:20
Updated At-03 Aug, 2024 | 18:09
Rejected At-
▼CVE Numbering Authority (CNA)
Nimble arbitrary code execution for specially crafted package metadata

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.

Affected Products
Vendor
nim-lang
Product
security
Versions
Affected
  • < 1.2.10
  • >= 1.4.0, < 1.4.4
Problem Types
TypeCWE IDDescription
CWECWE-20CWE-20 Improper Input Validation
CWECWE-74CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Type: CWE
CWE ID: CWE-20
Description: CWE-20 Improper Input Validation
Type: CWE
CWE ID: CWE-74
Description: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Metrics
VersionBase scoreBase severityVector
3.18.3HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Version: 3.1
Base score: 8.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
x_refsource_MISC
https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p
x_refsource_CONFIRM
https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
x_refsource_MISC
https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37
x_refsource_MISC
Hyperlink: https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
Resource:
x_refsource_MISC
Hyperlink: https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
Resource:
x_refsource_MISC
Hyperlink: https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
x_refsource_MISC
x_transferred
https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p
x_refsource_CONFIRM
x_transferred
https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
x_refsource_MISC
x_transferred
https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37
x_refsource_MISC
x_transferred
Hyperlink: https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37
Resource:
x_refsource_MISC
x_transferred
Details not found