Critical
Security advisory
The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse untrusted XML data, which is known to be vulnerable to XML attacks.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23418
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:44 UTC · Revision 1
Source evidence
The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse untrusted XML data, which is known to be vulnerable to XML attacks.
osv:CVE-2021-23418
Complete source record
{
"id": "f9e5f3d04f0165b7ab246d88238bc3cf15cb47ae22640f1a197ee96ff15e3717",
"url": "https://osv.dev/vulnerability/CVE-2021-23418",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23418",
"summary": "The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse untrusted XML data, which is known to be vulnerable to XML attacks.",
"evidence": "osv:CVE-2021-23418",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-23418",
"aliases": [
"CVE-2021-23418",
"GHSA-r2mj-8wgq-73m6",
"PYSEC-2021-115",
"SNYK-PYTHON-GLANCES-1311807"
],
"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/nicolargo/glances",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d1c39b1bd0c969b2566e00e0b25adef50fb2440a"
},
{
"fixed": "4b87e979afdc06d98ed1b48da31e69eaa3a9fb94"
},
{
"fixed": "85d5a6b4af31fcf785d5a61086cbbd166b40b07a"
},
{
"fixed": "9d6051be4a42f692392049fdbfc85d5dfa458b32"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:glances_project:glances:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4b87e979afdc06d98ed1b48da31e69eaa3a9fb94"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "85d5a6b4af31fcf785d5a61086cbbd166b40b07a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9d6051be4a42f692392049fdbfc85d5dfa458b32"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.1.6.1",
"v3.1.5",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0",
"v2.11",
"v2.10",
"v2.9.1",
"v2.9.0",
"v2.8.8",
"v2.8.7",
"v2.8.6",
"v2.8.5",
"v2.8.4",
"v2.8.3",
"v2.8.2",
"v2.8.1",
"v2.8",
"v2.7.1",
"v2.7",
"v2.7_RC1",
"v2.5.1",
"v2.5",
"v2.4.2",
"v2.4.1",
"v2.3",
"v2.2",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7",
"v1.6.1",
"v1.6",
"v1.5.2",
"v1.5.1",
"v1.5",
"v1.4.2.1",
"v1.4.2",
"v1.4.1.1",
"v1.4.1",
"v1.4",
"v1.3.7",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3",
"v1.2",
"v1.1.3",
"v1.1.2",
"v1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23418.json"
}
}
],
"modified": "2026-10-20T10:54:37.644804196Z",
"provider": "osv",
"references": [
"https://github.com/nicolargo/glances/commit/4b87e979afdc06d98ed1b48da31e69eaa3a9fb94",
"https://github.com/nicolargo/glances/commit/85d5a6b4af31fcf785d5a61086cbbd166b40b07a",
"https://github.com/nicolargo/glances/commit/9d6051be4a42f692392049fdbfc85d5dfa458b32",
"https://github.com/nicolargo/glances/issues/1025",
"https://snyk.io/vuln/SNYK-PYTHON-GLANCES-1311807"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23418",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385780,
"published_at": "2021-07-29T18:15:07.727+00:00"
}