Security advisory
systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21388
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:14 UTC · Revision 1
Source evidence
systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.
osv:CVE-2021-21388
Complete source record
{
"id": "4e47e77ae8896d1ebe8db5d78904419821e140f7dac4ce1f2082cb5f27b8c143",
"url": "https://osv.dev/vulnerability/CVE-2021-21388",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21388",
"summary": "systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.",
"evidence": "osv:CVE-2021-21388",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-21388",
"aliases": [
"CVE-2021-21388",
"GHSA-jff2-qjw8-5476"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sebhildebrandt/systeminformation",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "244186ef5ea7e3e3eb7e973f702d9a81999e2789"
},
{
"fixed": "01ef56cd5824ed6da1c11b37013a027fdef67524"
},
{
"fixed": "0be6fcd575c05687d1076d5cd6d75af2ebae5a46"
},
{
"fixed": "7922366d707de7f20995fc8e30ac3153636bf35f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.6.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "01ef56cd5824ed6da1c11b37013a027fdef67524"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "0be6fcd575c05687d1076d5cd6d75af2ebae5a46"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7922366d707de7f20995fc8e30ac3153636bf35f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v5.6.2",
"v5.6.3",
"v5.6.1",
"v5.6.0",
"v5.5.0",
"v5.4.0",
"v5.3.5",
"v5.3.4",
"v5.3.3",
"v5.3.2",
"v5.3.1",
"v5.3.0",
"v5.2.7",
"v5.2.6",
"v5.2.5",
"v4.34.9",
"v5.2.4",
"v5.2.3",
"v5.2.2",
"v5.2.1",
"v5.2.0",
"v5.1.2",
"v5.1.1",
"v5.1.0",
"v5.0.11",
"v5.0.10",
"v5.0.9",
"v5.0.8",
"v5.0.7",
"v5.0.6",
"v5.0.5",
"v5.0.4",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.34.8",
"v4.34.7",
"v4.34.6",
"v4.34.5",
"v4.34.4",
"v4.34.3",
"v4.34.2",
"v4.34.1",
"v4.34.0",
"v4.33.8",
"v4.33.7",
"v4.33.6",
"v4.33.5",
"v4.33.4",
"v4.33.3",
"v4.33.2",
"v4.33.1",
"v4.33.0",
"v4.32.0",
"v4.31.2",
"v4.31.1",
"v4.30.11",
"v4.30.10",
"v4.30.9",
"v4.30.8",
"v4.30.7",
"v4.30.6",
"v4.30.5",
"v4.30.4",
"v4.30.3",
"v4.30.2",
"v4.30.1",
"v4.30.0",
"v4.29.3",
"v4.29.2",
"v4.29.1",
"v4.29.0",
"v4.28.1",
"v4.28.0",
"v4.27.11",
"v4.27.10",
"v4.27.9",
"v4.27.8",
"v4.27.7",
"v4.27.6",
"v4.27.5",
"v4.27.4",
"v4.27.3",
"v4.27.2",
"v4.27.1",
"v4.27.0",
"v4.26.12",
"v4.26.11",
"v4.26.10",
"v4.26.9",
"v4.26.8",
"v4.26.7",
"v4.26.6",
"v4.26.5",
"v4.26.4",
"v4.26.3",
"v4.26.2",
"v4.25.2",
"v4.24.1",
"v4.24.0",
"v4.23.10",
"v4.23.9",
"v4.23.8",
"v4.23.7",
"v4.23.6",
"v4.23.5",
"v4.23.4",
"v4.23.3",
"v4.23.2",
"v4.23.1",
"v4.23.0",
"v4.22.7",
"v4.22.6",
"v4.21.0",
"v4.20.1",
"v4.20.0",
"v4.19.4",
"v4.19.3",
"v4.19.2",
"v4.19.1",
"v4.19.0",
"v4.18.3",
"v4.18.2",
"v4.18.1",
"v4.18.0",
"v4.17.3",
"v4.17.2",
"v4.17.1",
"v4.17.0",
"v4.16.1",
"v4.16.0",
"v4.15.1",
"v4.15.0",
"v4.14.15",
"v4.14.14",
"v4.14.11",
"v4.14.10",
"v4.14.9",
"v4.14.7",
"v4.14.6",
"v4.14.5",
"v4.14.3",
"v4.14.0",
"v4.13.2",
"v4.13.1",
"v4.12.2",
"v4.12.1",
"v4.11.6",
"v4.11.5",
"v4.9.0",
"v4.8.4",
"v4.7.3",
"v4.7.2",
"v4.7.1",
"v4.7.0",
"v4.6.1",
"v4.3.0",
"v4.2.1",
"v4.2.0",
"v4.1.8",
"v4.1.7",
"v4.1.6",
"v4.1.5",
"v4.0.15",
"v4.0.14",
"v4.0.13",
"v4.0.12",
"v4.0.9",
"v4.0.7",
"v4.0.6",
"v3.52.1",
"v3.52.0",
"v3.51.2",
"v3.51.1",
"v3.48.4",
"v3.48.3",
"v3.48.2",
"v3.45.9",
"v3.45.8",
"v3.42.8",
"v3.42.7",
"v3.42.6",
"v3.42.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21388.json"
}
}
],
"modified": "2026-10-20T10:53:33.757348032Z",
"provider": "osv",
"references": [
"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476",
"https://www.npmjs.com/package/systeminformation",
"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524",
"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46",
"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21388",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384422,
"published_at": "2021-04-29T18:15:09.54+00:00"
}