OPENSUSE-SU-2021:0628-1
Vulnerability from csaf_opensuse - Published: 2021-04-29 14:05 - Updated: 2026-11-15 18:30| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64 | — |
Vendor Fix
|
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright 2024 SUSE LLC. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "Security update for nim",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for nim fixes the following issues:\n\nnum was updated to version 1.2.12:\n\n* Fixed GC crash resulting from inlining of the memory allocation procs\n* Fixed \u201cincorrect raises effect for $(NimNode)\u201d (#17454)\n\nFrom version 1.2.10:\n\n* Fixed \u201cJS backend doesn\u2019t handle float-\u003eint type conversion \u201c (#8404)\n* Fixed \u201cThe \u201ctry except\u201d not work when the \u201cOSError:\n Too many open files\u201d error occurs!\u201d (#15925)\n* Fixed \u201cNim emits #line 0 C preprocessor directives with\n \u2013debugger:native, with ICE in gcc-10\u201d (#15942)\n* Fixed \u201ctfuturevar fails when activated\u201d (#9695)\n* Fixed \u201cnre.escapeRe is not gcsafe\u201d (#16103)\n* Fixed \u201c\u201cError: internal error: genRecordFieldAux\u201d - in\n the \u201cversion-1-4\u201d branch\u201d (#16069)\n* Fixed \u201c-d:fulldebug switch does not compile with gc:arc\u201d (#16214)\n* Fixed \u201cosLastError may randomly raise defect and crash\u201d (#16359)\n* Fixed \u201cgeneric importc proc\u2019s don\u2019t work (breaking lots\n of vmops procs for js)\u201d (#16428)\n* Fixed \u201cConcept: codegen ignores parameter passing\u201d (#16897)\n* Fixed \u201c{.push exportc.} interacts with anonymous functions\u201d (#16967)\n* Fixed \u201cmemory allocation during {.global.} init breaks GC\u201d (#17085)\n* Fixed \u0027Nimble arbitrary code execution for specially crafted package metadata\u0027\n + https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p\n + (boo#1185083, CVE-2021-21372)\n* Fixed \u0027Nimble falls back to insecure http url when fetching packages\u0027\n + https://github.com/nim-lang/security/security/advisories/GHSA-8w52-r35x-rgp8\n + (boo#1185084, CVE-2021-21373)\n* Fixed \u0027Nimble fails to validate certificates due to insecure httpClient defaults\u0027\n + https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx\n + (boo#1185085, CVE-2021-21374)\n\nfrom version 1.2.8\n\n* Fixed \u201cDefer and \u2013gc:arc\u201d (#15071)\n* Fixed \u201cIssue with \u2013gc:arc at compile time\u201d (#15129)\n* Fixed \u201cNil check on each field fails in generic function\u201d (#15101)\n* Fixed \u201c[strscans] scanf doesn\u2019t match a single character with\n $+ if it\u2019s the end of the string\u201d (#15064)\n* Fixed \u201cCrash and incorrect return values when using\n readPasswordFromStdin on Windows.\u201d (#15207)\n* Fixed \u201cInconsistent unsigned -\u003e signed RangeDefect usage\n across integer sizes\u201d (#15210)\n* Fixed \u201ctoHex results in RangeDefect exception when\n used with large uint64\u201d (#15257)\n* Fixed \u201cMixing \u2018return\u2019 with expressions is allowed in 1.2\u201d (#15280)\n* Fixed \u201cproc execCmdEx doesn\u2019t work with -d:useWinAnsi\u201d (#14203)\n* Fixed \u201cmemory corruption in tmarshall.nim\u201d (#9754)\n* Fixed \u201cWrong number of variables\u201d (#15360)\n* Fixed \u201cdefer doesnt work with block, break and await\u201d (#15243)\n* Fixed \u201cSizeof of case object is incorrect. Showstopper\u201d (#15516)\n* Fixed \u201cMixing \u2018return\u2019 with expressions is allowed in 1.2\u201d (#15280)\n* Fixed \u201cregression(1.0.2 =\u003e 1.0.4) VM register messed up\n depending on unrelated context\u201d (#15704)\n\nfrom version 1.2.6\n\n* Fixed \u201cThe pegs module doesn\u2019t work with generics!\u201d (#14718)\n* Fixed \u201c[goto exceptions] {.noReturn.} pragma is not detected\n in a case expression\u201d (#14458)\n* Fixed \u201c[exceptions:goto] C compiler error with dynlib pragma\n calling a proc\u201d (#14240)\n* Fixed \u201cNim source archive install: \u2018install.sh\u2019 fails with error:\n cp: cannot stat \u2018bin/nim-gdb\u2019: No such file or directory\u201d (#14748)\n* Fixed \u201cStropped identifiers don\u2019t work as field names in\n tuple literals\u201d (#14911)\n* Fixed \u201curi.decodeUrl crashes on incorrectly formatted input\u201d (#14082)\n* Fixed \u201codbcsql module has some wrong integer types\u201d (#9771)\n* Fixed \u201c[ARC] Compiler crash declaring a finalizer proc\n directly in \u2018new\u2019\u201d (#15044)\n* Fixed \u201ccode with named arguments in proc of winim/com can\n not been compiled\u201d (#15056)\n* Fixed \u201cjavascript backend produces javascript code with syntax\n error in object syntax\u201d (#14534)\n* Fixed \u201c[ARC] SIGSEGV when calling a closure as a tuple\n field in a seq\u201d (#15038)\n* Fixed \u201cCompiler crashes when using string as object variant\n selector with else branch\u201d (#14189)\n* Fixed \u201cConstructing a uint64 range on a 32-bit machine leads\n to incorrect codegen\u201d (#14616)\n\nUpdate to version 1.2.2:\n\n* See https://nim-lang.org/blog.html for details\n\nUpdate to version 1.0.2:\n\n* See https://nim-lang.org/blog.html for details\n\nThis update was imported from the openSUSE:Leap:15.2:Update update project.",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-2021-628",
"title": "Patchnames"
},
{
"category": "legal_disclaimer",
"text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
"title": "Terms of use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://www.suse.com/support/security/contact/",
"name": "SUSE Product Security Team",
"namespace": "https://www.suse.com/"
},
"references": [
{
"category": "external",
"summary": "SUSE ratings",
"url": "https://www.suse.com/support/security/rating/"
},
{
"category": "self",
"summary": "URL of this CSAF notice",
"url": "https://ftp.suse.com/pub/projects/security/csaf/2021/opensuse-su-2021_0628-1.json"
},
{
"category": "self",
"summary": "URL for openSUSE-SU-2021:0628-1",
"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3KP4YJ5PY3MI63TQDVZA6BQHCQPAXBGB/"
},
{
"category": "self",
"summary": "E-Mail link for openSUSE-SU-2021:0628-1",
"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3KP4YJ5PY3MI63TQDVZA6BQHCQPAXBGB/"
},
{
"category": "self",
"summary": "SUSE Bug 1185083",
"url": "https://bugzilla.suse.com/1185083"
},
{
"category": "self",
"summary": "SUSE Bug 1185084",
"url": "https://bugzilla.suse.com/1185084"
},
{
"category": "self",
"summary": "SUSE Bug 1185085",
"url": "https://bugzilla.suse.com/1185085"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-21372 page",
"url": "https://www.suse.com/security/cve/CVE-2021-21372/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-21373 page",
"url": "https://www.suse.com/security/cve/CVE-2021-21373/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-21374 page",
"url": "https://www.suse.com/security/cve/CVE-2021-21374/"
}
],
"title": "Security update for nim",
"tracking": {
"current_release_date": "2026-11-15T18:30:55Z",
"generator": {
"date": "2021-04-29T14:05:41Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2021:0628-1",
"initial_release_date": "2021-04-29T14:05:41Z",
"revision_history": [
{
"date": "2021-04-29T14:05:41Z",
"number": "1",
"summary": "Current version"
},
{
"date": "2026-09-20T19:24:14Z",
"number": "2",
"summary": "unknown changes"
},
{
"date": "2026-11-15T18:30:55Z",
"number": "3",
"summary": "unknown changes"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "nim-0:1.2.12-bp152.4.3.1.aarch64",
"product": {
"name": "nim-0:1.2.12-bp152.4.3.1.aarch64",
"product_id": "nim-0:1.2.12-bp152.4.3.1.aarch64",
"product_identification_helper": {
"cpe": "cpe:2.3:a:nim-lang:nim:1.2.12:*:*:*:*:*:*:*",
"purl": "pkg:rpm/suse/nim@1.2.12-bp152.4.3.1?arch=aarch64"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "nim-0:1.2.12-bp152.4.3.1.x86_64",
"product": {
"name": "nim-0:1.2.12-bp152.4.3.1.x86_64",
"product_id": "nim-0:1.2.12-bp152.4.3.1.x86_64",
"product_identification_helper": {
"cpe": "cpe:2.3:a:nim-lang:nim:1.2.12:*:*:*:*:*:*:*",
"purl": "pkg:rpm/suse/nim@1.2.12-bp152.4.3.1?arch=x86_64"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Package Hub 15 SP2",
"product": {
"name": "SUSE Package Hub 15 SP2",
"product_id": "SUSE Package Hub 15 SP2"
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "nim-0:1.2.12-bp152.4.3.1.aarch64 as component of SUSE Package Hub 15 SP2",
"product_id": "SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64"
},
"product_reference": "nim-0:1.2.12-bp152.4.3.1.aarch64",
"relates_to_product_reference": "SUSE Package Hub 15 SP2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "nim-0:1.2.12-bp152.4.3.1.x86_64 as component of SUSE Package Hub 15 SP2",
"product_id": "SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
},
"product_reference": "nim-0:1.2.12-bp152.4.3.1.x86_64",
"relates_to_product_reference": "SUSE Package Hub 15 SP2"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-21372",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-21372"
}
],
"notes": [
{
"category": "general",
"text": "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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-21372",
"url": "https://www.suse.com/security/cve/CVE-2021-21372"
},
{
"category": "external",
"summary": "SUSE Bug 1185083 for CVE-2021-21372",
"url": "https://bugzilla.suse.com/1185083"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 8.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-04-29T14:05:41Z",
"details": "important"
}
],
"title": "CVE-2021-21372"
},
{
"cve": "CVE-2021-21373",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-21373"
}
],
"notes": [
{
"category": "general",
"text": "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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-21373",
"url": "https://www.suse.com/security/cve/CVE-2021-21373"
},
{
"category": "external",
"summary": "SUSE Bug 1185084 for CVE-2021-21373",
"url": "https://bugzilla.suse.com/1185084"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"products": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-04-29T14:05:41Z",
"details": "moderate"
}
],
"title": "CVE-2021-21373"
},
{
"cve": "CVE-2021-21374",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-21374"
}
],
"notes": [
{
"category": "general",
"text": "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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-21374",
"url": "https://www.suse.com/security/cve/CVE-2021-21374"
},
{
"category": "external",
"summary": "SUSE Bug 1185085 for CVE-2021-21374",
"url": "https://bugzilla.suse.com/1185085"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.aarch64",
"SUSE Package Hub 15 SP2:nim-0:1.2.12-bp152.4.3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-04-29T14:05:41Z",
"details": "important"
}
],
"title": "CVE-2021-21374"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.