{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","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":"SUSE CVE-2021-21372","title":"Title"},{"category":"description","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":"Description of the CVE"},{"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":"CVE-2021-21372","url":"https://www.suse.com/security/cve/CVE-2021-21372"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1185083 for CVE-2021-21372","url":"https://bugzilla.suse.com/1185083"},{"category":"external","summary":"Advisory link for openSUSE-SU-2021:0618-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NV5NCUH7W5BZXNXEYHHUQGISDZUK64IU/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2021:0628-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3KP4YJ5PY3MI63TQDVZA6BQHCQPAXBGB/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2022:10095-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HM5F2H5AWO4WRQSTOWMODGKMXAHHBVRH/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2022:10101-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SNDISR45BBTIWW5MDTIQOSRHOEV3XUKF/"}],"title":"SUSE CVE CVE-2021-21372","tracking":{"current_release_date":"2025-03-15T09:10:56Z","generator":{"date":"2023-02-15T03:46:17Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2021-21372","initial_release_date":"2023-02-15T03:46:17Z","revision_history":[{"date":"2023-02-15T03:46:17Z","number":"2","summary":"Current version"},{"date":"2025-01-01T04:46:01Z","number":"3","summary":"Current version"},{"date":"2025-02-15T05:20:26Z","number":"4","summary":"Current version"},{"date":"2025-02-17T05:46:32Z","number":"5","summary":"Current version"},{"date":"2025-03-15T09:10:56Z","number":"6","summary":"Current version"}],"status":"interim","version":"6"}},"product_tree":{"branches":[{"branches":[{"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_name","name":"SUSE Package Hub 15 SP3","product":{"name":"SUSE Package Hub 15 SP3","product_id":"SUSE Package Hub 15 SP3"}},{"category":"product_name","name":"SUSE Package Hub 15 SP4","product":{"name":"SUSE Package Hub 15 SP4","product_id":"SUSE Package Hub 15 SP4"}},{"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_name","name":"openSUSE Leap 15.3","product":{"name":"openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.3"}}},{"category":"product_name","name":"openSUSE Leap 15.4","product":{"name":"openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.4"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"nim-1.2.12-1.7","product":{"name":"nim-1.2.12-1.7","product_id":"nim-1.2.12-1.7","product_identification_helper":{"cpe":"cpe:2.3:a:nim-lang:nim:1.2.12:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/nim@1.2.12-1.7"}}},{"category":"product_version","name":"nim-1.2.12-bp152.4.3.1","product":{"name":"nim-1.2.12-bp152.4.3.1","product_id":"nim-1.2.12-bp152.4.3.1","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"}}},{"category":"product_version","name":"nim-1.2.12-lp152.2.3.1","product":{"name":"nim-1.2.12-lp152.2.3.1","product_id":"nim-1.2.12-lp152.2.3.1","product_identification_helper":{"cpe":"cpe:2.3:a:nim-lang:nim:1.2.12:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/nim@1.2.12-lp152.2.3.1"}}},{"category":"product_version","name":"nim-1.6.6-bp153.2.3.1","product":{"name":"nim-1.6.6-bp153.2.3.1","product_id":"nim-1.6.6-bp153.2.3.1","product_identification_helper":{"cpe":"cpe:2.3:a:nim-lang:nim:1.6.6:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/nim@1.6.6-bp153.2.3.1"}}},{"category":"product_version","name":"nim-1.6.6-bp154.2.3.1","product":{"name":"nim-1.6.6-bp154.2.3.1","product_id":"nim-1.6.6-bp154.2.3.1","product_identification_helper":{"cpe":"cpe:2.3:a:nim-lang:nim:1.6.6:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/nim@1.6.6-bp154.2.3.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"nim-1.2.12-bp152.4.3.1 as component of SUSE Package Hub 15 SP2","product_id":"SUSE Package Hub 15 SP2:nim-1.2.12-bp152.4.3.1"},"product_reference":"nim-1.2.12-bp152.4.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"nim-1.6.6-bp153.2.3.1 as component of SUSE Package Hub 15 SP3","product_id":"SUSE Package Hub 15 SP3:nim-1.6.6-bp153.2.3.1"},"product_reference":"nim-1.6.6-bp153.2.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"nim-1.6.6-bp154.2.3.1 as component of SUSE Package Hub 15 SP4","product_id":"SUSE Package Hub 15 SP4:nim-1.6.6-bp154.2.3.1"},"product_reference":"nim-1.6.6-bp154.2.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"nim-1.2.12-lp152.2.3.1 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1"},"product_reference":"nim-1.2.12-lp152.2.3.1","relates_to_product_reference":"openSUSE Leap 15.2"},{"category":"default_component_of","full_product_name":{"name":"nim-1.6.6-bp153.2.3.1 as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:nim-1.6.6-bp153.2.3.1"},"product_reference":"nim-1.6.6-bp153.2.3.1","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"nim-1.6.6-bp154.2.3.1 as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:nim-1.6.6-bp154.2.3.1"},"product_reference":"nim-1.6.6-bp154.2.3.1","relates_to_product_reference":"openSUSE Leap 15.4"},{"category":"default_component_of","full_product_name":{"name":"nim-1.2.12-1.7 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:nim-1.2.12-1.7"},"product_reference":"nim-1.2.12-1.7","relates_to_product_reference":"openSUSE Tumbleweed"}]},"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-1.2.12-bp152.4.3.1","SUSE Package Hub 15 SP3:nim-1.6.6-bp153.2.3.1","SUSE Package Hub 15 SP4:nim-1.6.6-bp154.2.3.1","openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1","openSUSE Leap 15.3:nim-1.6.6-bp153.2.3.1","openSUSE Leap 15.4:nim-1.6.6-bp154.2.3.1","openSUSE Tumbleweed:nim-1.2.12-1.7"]},"references":[{"category":"external","summary":"CVE-2021-21372","url":"https://www.suse.com/security/cve/CVE-2021-21372"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1185083 for CVE-2021-21372","url":"https://bugzilla.suse.com/1185083"},{"category":"external","summary":"Advisory link for openSUSE-SU-2021:0618-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NV5NCUH7W5BZXNXEYHHUQGISDZUK64IU/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2021:0628-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3KP4YJ5PY3MI63TQDVZA6BQHCQPAXBGB/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2022:10095-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HM5F2H5AWO4WRQSTOWMODGKMXAHHBVRH/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2022:10101-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SNDISR45BBTIWW5MDTIQOSRHOEV3XUKF/"}],"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-1.2.12-bp152.4.3.1","SUSE Package Hub 15 SP3:nim-1.6.6-bp153.2.3.1","SUSE Package Hub 15 SP4:nim-1.6.6-bp154.2.3.1","openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1","openSUSE Leap 15.3:nim-1.6.6-bp153.2.3.1","openSUSE Leap 15.4:nim-1.6.6-bp154.2.3.1","openSUSE Tumbleweed:nim-1.2.12-1.7"]}],"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-1.2.12-bp152.4.3.1","SUSE Package Hub 15 SP3:nim-1.6.6-bp153.2.3.1","SUSE Package Hub 15 SP4:nim-1.6.6-bp154.2.3.1","openSUSE Leap 15.2:nim-1.2.12-lp152.2.3.1","openSUSE Leap 15.3:nim-1.6.6-bp153.2.3.1","openSUSE Leap 15.4:nim-1.6.6-bp154.2.3.1","openSUSE Tumbleweed:nim-1.2.12-1.7"]}],"threats":[{"category":"impact","date":"2021-03-27T15:53:02Z","details":"important"}],"title":"CVE-2021-21372"}]}