opensuse-su-2021:0618-1
Vulnerability from csaf_opensuse
Published
2021-04-25 18:05
Modified
2021-04-25 18:05
Summary
Security update for nim
Notes
Title of the patch
Security update for nim
Description of the patch
This update for nim fixes the following issues:
num was updated to version 1.2.12:
* Fixed GC crash resulting from inlining of the memory allocation procs
* Fixed “incorrect raises effect for $(NimNode)” (#17454)
From version 1.2.10:
* Fixed “JS backend doesn’t handle float->int type conversion “ (#8404)
* Fixed “The “try except” not work when the “OSError:
Too many open files” error occurs!” (#15925)
* Fixed “Nim emits #line 0 C preprocessor directives with
–debugger:native, with ICE in gcc-10” (#15942)
* Fixed “tfuturevar fails when activated” (#9695)
* Fixed “nre.escapeRe is not gcsafe” (#16103)
* Fixed ““Error: internal error: genRecordFieldAux” - in
the “version-1-4” branch” (#16069)
* Fixed “-d:fulldebug switch does not compile with gc:arc” (#16214)
* Fixed “osLastError may randomly raise defect and crash” (#16359)
* Fixed “generic importc proc’s don’t work (breaking lots
of vmops procs for js)” (#16428)
* Fixed “Concept: codegen ignores parameter passing” (#16897)
* Fixed “{.push exportc.} interacts with anonymous functions” (#16967)
* Fixed “memory allocation during {.global.} init breaks GC” (#17085)
* Fixed 'Nimble arbitrary code execution for specially crafted package metadata'
+ https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p
+ (boo#1185083, CVE-2021-21372)
* Fixed 'Nimble falls back to insecure http url when fetching packages'
+ https://github.com/nim-lang/security/security/advisories/GHSA-8w52-r35x-rgp8
+ (boo#1185084, CVE-2021-21373)
* Fixed 'Nimble fails to validate certificates due to insecure httpClient defaults'
+ https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx
+ (boo#1185085, CVE-2021-21374)
from version 1.2.8
* Fixed “Defer and –gc:arc” (#15071)
* Fixed “Issue with –gc:arc at compile time” (#15129)
* Fixed “Nil check on each field fails in generic function” (#15101)
* Fixed “[strscans] scanf doesn’t match a single character with
$+ if it’s the end of the string” (#15064)
* Fixed “Crash and incorrect return values when using
readPasswordFromStdin on Windows.” (#15207)
* Fixed “Inconsistent unsigned -> signed RangeDefect usage
across integer sizes” (#15210)
* Fixed “toHex results in RangeDefect exception when
used with large uint64” (#15257)
* Fixed “Mixing ‘return’ with expressions is allowed in 1.2” (#15280)
* Fixed “proc execCmdEx doesn’t work with -d:useWinAnsi” (#14203)
* Fixed “memory corruption in tmarshall.nim” (#9754)
* Fixed “Wrong number of variables” (#15360)
* Fixed “defer doesnt work with block, break and await” (#15243)
* Fixed “Sizeof of case object is incorrect. Showstopper” (#15516)
* Fixed “Mixing ‘return’ with expressions is allowed in 1.2” (#15280)
* Fixed “regression(1.0.2 => 1.0.4) VM register messed up
depending on unrelated context” (#15704)
from version 1.2.6
* Fixed “The pegs module doesn’t work with generics!” (#14718)
* Fixed “[goto exceptions] {.noReturn.} pragma is not detected
in a case expression” (#14458)
* Fixed “[exceptions:goto] C compiler error with dynlib pragma
calling a proc” (#14240)
* Fixed “Nim source archive install: ‘install.sh’ fails with error:
cp: cannot stat ‘bin/nim-gdb’: No such file or directory” (#14748)
* Fixed “Stropped identifiers don’t work as field names in
tuple literals” (#14911)
* Fixed “uri.decodeUrl crashes on incorrectly formatted input” (#14082)
* Fixed “odbcsql module has some wrong integer types” (#9771)
* Fixed “[ARC] Compiler crash declaring a finalizer proc
directly in ‘new’” (#15044)
* Fixed “code with named arguments in proc of winim/com can
not been compiled” (#15056)
* Fixed “javascript backend produces javascript code with syntax
error in object syntax” (#14534)
* Fixed “[ARC] SIGSEGV when calling a closure as a tuple
field in a seq” (#15038)
* Fixed “Compiler crashes when using string as object variant
selector with else branch” (#14189)
* Fixed “Constructing a uint64 range on a 32-bit machine leads
to incorrect codegen” (#14616)
Update to version 1.2.2:
* See https://nim-lang.org/blog.html for details
Update to version 1.0.2:
* See https://nim-lang.org/blog.html for details
Patchnames
openSUSE-2021-618
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{ "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", "title": "Description of the patch" }, { "category": "details", "text": "openSUSE-2021-618", "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/opensuse-su-2021_0618-1.json" }, { "category": "self", "summary": "URL for openSUSE-SU-2021:0618-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NV5NCUH7W5BZXNXEYHHUQGISDZUK64IU/" }, { "category": "self", "summary": "E-Mail link for openSUSE-SU-2021:0618-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NV5NCUH7W5BZXNXEYHHUQGISDZUK64IU/" }, { "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": "2021-04-25T18:05:14Z", "generator": { "date": "2021-04-25T18:05:14Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "openSUSE-SU-2021:0618-1", "initial_release_date": "2021-04-25T18:05:14Z", "revision_history": [ { "date": "2021-04-25T18:05:14Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "nim-1.2.12-lp152.2.3.1.x86_64", "product": { "name": "nim-1.2.12-lp152.2.3.1.x86_64", "product_id": "nim-1.2.12-lp152.2.3.1.x86_64" } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_name", "name": "openSUSE Leap 15.2", "product": { "name": "openSUSE Leap 15.2", "product_id": "openSUSE Leap 15.2", "product_identification_helper": { "cpe": "cpe:/o:opensuse:leap:15.2" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "nim-1.2.12-lp152.2.3.1.x86_64 as component of openSUSE Leap 15.2", "product_id": "openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1.x86_64" }, "product_reference": "nim-1.2.12-lp152.2.3.1.x86_64", "relates_to_product_reference": "openSUSE Leap 15.2" } ] }, "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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2021-04-25T18:05:14Z", "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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2021-04-25T18:05:14Z", "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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.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": [ "openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2021-04-25T18:05:14Z", "details": "important" } ], "title": "CVE-2021-21374" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…