As of , CVE-2021-21315 in Npm package System Information Library for Node.JS is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2021-21315
Npm package System Information Library for Node.JS: Command Injection. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- EPSS 0.91
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects sebhildebrandt systeminformation before 5.3.1.
Fixed in 5.3.1.
- EPSS score
- 0.91Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 18 January 2022
- US federal deadline
- 1 February 2022 14 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
- Public exploit
- None found Neither Metasploit nor Exploit-DB lists one.
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
Affects systeminformation before 5.3.1.
Fixed in 5.3.1.
Advisory GHSA-2m8v-572m-ff2v
Since listing
EPSS since listing
EPSS for CVE-2021-21315 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.04 | |
| 0.96 | |
| 0.97 | |
| 0.94 | |
| 0.93 | |
| 0.94 | |
| 0.90 | |
| 0.91 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.
CISA's description
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.
The CVE record's description, from GitHub_M
- CVE published
- 16 February 2021
- Assigned by
- GitHub_M
- CVSS
- 7.1 High (CVSS 3.1, from the CNA)
- CWE-78
- Improper Neutralization of Special Elements used in an OS Command
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- no
- CISA SSVC, technical impact
- partial
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0