Skip to content

Commit 2a28d2d

Browse files
versions() fix Command Injection issue (linux), added smartmontools support (macOS)
1 parent 5a534cd commit 2a28d2d

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
9191

9292
| Version | Date | Comment |
9393
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
94-
| 5.31.0 | 2026-02-15 | `diskLayout()` added smartmontools support (macOS) |
94+
| 5.31.0 | 2026-02-15 | `diskLayout()` added smartmontools support (macOS), `versions()` command injection issue (linux) |
9595
| 5.30.8 | 2026-02-14 | `wifiNetworks()` fixed CWE-78 command injection issue (linux) |
9696
| 5.30.7 | 2026-01-31 | `networkInterfaces()` fixed getWindowsIEEE8021x issue (windows) |
9797
| 5.30.6 | 2026-01-22 | `graphics()` improved nvidia-smi detection (windows) |

docs/history.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h3>Full version history</h3>
6161
<th scope="row">5.31.0
6262
</th>
6363
<td>2026-02-15</td>
64-
<td><span class="code">diskLayout()</span> added smartmontools support (macOS)</td>
64+
<td><span class="code">diskLayout()</span> added smartmontools support (macOS), <span class="code">versions()</span> fix command injection</td>
6565
</tr>
6666
<tr>
6767
<th scope="row">5.30.8

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
<body>
167167
<header class="bg-image-full">
168168
<div class="top-container">
169-
<a href="security.html" class="recommendation">Security advisory:<br>Update to v5.30.8</a>
169+
<a href="security.html" class="recommendation">Security advisory:<br>Update to v5.31.0</a>
170170
<img class="logo" src="assets/logo.png" alt="logo">
171171
<div class="title">systeminformation</div>
172172
<div class="subtitle"><span id="typed"></span>&nbsp;</div>

docs/security.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@
4444
<div class="col-12 sectionheader">
4545
<div class="title">Security Advisories</div>
4646
<div class="text">
47+
<h2>versions() Command Injection Vulnerability</h2>
48+
<p><span class="bold">Affected versions:</span>
49+
&lt; 5.31.0<br>
50+
<span class="bold">Date:</span> 2026-02-15<br>
51+
<span class="bold">CVE indentifier</span> ...
52+
</p>
53+
54+
<h4>Impact</h4>
55+
<p>We had an issue that there was a possibility to perform a potential command injection possibility by craft the malicious file path for postgres that is then used in <span class="code">versions()</span> on linux machines.</p>
56+
57+
<h4>Patch</h4>
58+
<p>Problem was fixed with parameter checking and execFile. If you are using version 5, please upgrade to version >= 5.31.0.</p>
59+
<hr>
60+
<br>
61+
4762
<h2>wifiNetworks Command Injection Vulnerability</h2>
4863
<p><span class="bold">Affected versions:</span>
4964
&lt; 5.30.8<br>

0 commit comments

Comments
 (0)