Quick answers
- Is CVE-2023-42810 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-42810 being exploited in the wild.
- How severe is CVE-2023-42810?
- Low severity, with a CVSS score of 3.1, published 21 September 2023.
- Which products and versions are affected?
- systeminformation (npm) SEMVER:introduced=5.0.0,fixed=5.21.7.
- Is there a fix for CVE-2023-42810?
- Yes. systeminformation (npm): upgrade to 5.21.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-42810 attacked?
- It is attacked over the network.
- Am I affected by CVE-2023-42810?
- Check whether you run systeminformation (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- systeminformation (npm): upgrade to 5.21.7 or later
npm install systeminformation@5.21.7
Technical details
The vulnerability is a command injection flaw (CWE-77) in the wifiConnections() and wifiNetworks() functions, where user-supplied SSID parameters are not properly sanitized before being passed to system commands. An attacker can inject arbitrary shell commands into the SSID parameter without authentication or user interaction required, since the library accepts untrusted input. Successful exploitation allows remote code execution with the privileges of the process running the application. The vulnerability was introduced in version 5.0.0 and fixed in version 5.21.7 through proper parameter validation. Version 4 and earlier are not affected.
Affected products
- systeminformation systeminformation 5.0.0 to 5.21.6
Identifiers
- CVE-2023-42810
- GHSA-gx6r-qc2v-3p3v
Timeline
- 2023-09-21: disclosed