CVE-2021-21315
Confirmed PUBLISHEDCommand Injection Vulnerability
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Feb 16, 2021
- Exploitation Reported
- Jan 18, 2022
- CVSS
- 7.1 High
- EPSS
- 90.2%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| sebhildebrandt |
systeminformation
|
< 5.3.1 |
Affected |
CVE References
- [cordova-issues] 20210224 [GitHub] [cordova-cli] iva2k opened a new issue #549: update systeminformation package to >=5.3.1 lists.apache.org · Mailing List https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d0612...
- npmjs.com/package/systeminformation npmjs.com · CVE Record https://www.npmjs.com/package/systeminformation
- GitHub — sebhildebrandt/systeminformation github.com · CVE Record https://github.com/sebhildebrandt/systeminformation/security/advisori...
- GitHub — sebhildebrandt/systeminformation github.com · CVE Record https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb0...
- security.netapp.com/advisory/ntap-20210312-0007 security.netapp.com · CVE Record https://security.netapp.com/advisory/ntap-20210312-0007/
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-01-18 00:00 UTC |
| The Shadowserver | 2026-06-07 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21315.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
AV:L/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2022-01-18 00:00:00 UTC · CISA
Proof of concept available
Recorded 2021-03-01 18:52:41 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21315.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2021-09-07 14:31:20 UTC · 4 stars
github · Created 2021-03-01 18:52:41 UTC · 156 stars
CVE 2021-21315 PoC
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC about 1 month ago00:00 UTC · about 1 month ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
18:52 UTC over 5 years ago18:52 UTC · over 5 years ago
Public PoC available
Public proof-of-concept code published
-
17:00 UTC over 5 years ago17:00 UTC · over 5 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 5 years ago00:00 UTC · over 5 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2021-21315
{
"cve_id": "CVE-2021-21315",
"title": "Command Injection Vulnerability",
"affected_vendor": "sebhildebrandt",
"affected_product": "systeminformation",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 7.1,
"epss_score": 0.9024,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}