Home / sebhildebrandt / systeminformation / CVE-2021-21315
CVE-2021-21315: is it exploited, and which versions of sebhildebrandt systeminformation are affected and fixed?
CVE-2021-21315 is an OS command injection vulnerability in sebhildebrandt systeminformation, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on January 18, 2022, with a federal due date of February 1, 2022. Affected: systeminformation before 5.3.1 (GitHub advisory GHSA-2m8v-572m-ff2v). Fixed in 5.3.1 (GitHub advisory GHSA-2m8v-572m-ff2v). Severity: High (7.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-21315?
The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.
From the CVE record by GitHub_M, last updated October 21, 2025, 23:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sebhildebrandt | systeminformation | < 5.3.1 |
As the CVE record by GitHub_M states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | systeminformation | < 5.3.1 | 5.3.1 | GHSA-2m8v-572m-ff2v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Command Injection Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| systeminformation | systeminformation | before 5.3.1 | application |
| apache | cordova | 10.0.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 03:35 UTC.
How severe is CVE-2021-21315?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21315 exploited in the wild?
- CISA KEV
- Listed as System Information Library for Node.JS Command Injection, added January 18, 2022; federal agencies must act by February 1, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: partial (CISA ADP, February 6, 2025)
- EPSS
- 90.7% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://www.npmjs.com/package/systeminformation x_refsource_MISC
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v x_refsource_CONFIRM
- https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525 x_refsource_MISC
- [cordova-issues] 20210224 [GitHub] [cordova-cli] iva2k opened a new issue #549: update systeminformation package to >=5.3.1 mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210312-0007/ x_refsource_CONFIRM
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315 government-resource
When was it published, and where is the official record?
- Reserved
- December 22, 2020
- Published
- February 16, 2021, 17:00 UTC
- CVE record updated
- October 21, 2025, 23:35 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 03:35 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect systeminformation?
- Oct 27, 2026CVE-2026-116674 sebhildebrandt systeminformation: prototype pollution
- Oct 27, 2026CVE-2026-116673 sebhildebrandt systeminformation: path traversal (reading or writing files outside the intended folder)
- Oct 26, 2026CVE-2026-116576 sebhildebrandt systeminformation: OS command injection
- Jul 17, 2026CVE-2026-50289 sebhildebrandt systeminformation: OS command injection
- May 27, 2026CVE-2026-44724 sebhildebrandt systeminformation: OS command injection
- Feb 19, 2026CVE-2026-26318 sebhildebrandt systeminformation: OS command injection
- Feb 19, 2026CVE-2026-26280 sebhildebrandt systeminformation: OS command injection
- Dec 16, 2025CVE-2025-68154 sebhildebrandt systeminformation: OS command injection
Every CVE in systeminformation
Questions about CVE-2021-21315
Is CVE-2021-21315 exploited in the wild?
Yes. CISA added CVE-2021-21315 to its Known Exploited Vulnerabilities catalog on January 18, 2022 and set federal agencies a due date of February 1, 2022. FIRST's EPSS gives it a 90.7% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sebhildebrandt systeminformation are affected by CVE-2021-21315?
systeminformation before 5.3.1, per the GitHub advisory GHSA-2m8v-572m-ff2v. The tables above give every range the sources list.
Which version fixes CVE-2021-21315?
5.3.1, per the GitHub advisory GHSA-2m8v-572m-ff2v. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21315?
High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21315?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.