CVE-2021-23418 json
XML External Entity (XXE) Injection
published 5y ago modified 4mo ago also GHSA-r2mj-8wgq-73m6 , PYSEC-2021-115 , EUVD-2021-0094
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi glances 3.2.1
- n/a Glances 3.2.1
- glances Debian 14, Debian 13, Debian 12 3.2.3.1+dfsg-1
debian advisories DEBIAN-CVE-2021-23418
- glances Ubuntu Pro 16.04 LTS 2.3-1ubuntu0.1~esm1
- glances Ubuntu Pro 18.04 LTS 2.11.1-3ubuntu0.1~esm1
- glances Ubuntu Pro 20.04 LTS 3.1.3-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-23418
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Glances openSUSE Tumbleweed 4.5.6-1.1
opensuse advisories openSUSE-SU-2026:11674-1
- glances Arch Linux 3.2.1-1
arch linux advisories AVG-2242
Is CVE-2021-23418 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23418 updated cvss 6.3
glances: XEE injection via the use of Fault to parse untrusted XML data
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.65% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/nicolargo/glances/issues/1025 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | glances | <3.2.1 |
3.2.1 |
Affected products
- n/a Glances
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/nicolargo/glances/commit/4b87e979afdc06d98ed1b48da31e69eaa3a9fb94
web, patch, third-party-advisory
-
github.com
/nicolargo/glances/commit/85d5a6b4af31fcf785d5a61086cbbd166b40b07a
web, patch, third-party-advisory
-
github.com
/nicolargo/glances/commit/9d6051be4a42f692392049fdbfc85d5dfa458b32
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-PYTHON-GLANCES-1311807
web, patch, third-party-advisory, advisory
-
github.com
/nicolargo/glances/issues/1025
web, exploit, issue-tracking, patch, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2021-23418
advisory
-
github.com
/advisories/GHSA-r2mj-8wgq-73m6
advisory
-
github.com
/nicolargo/glances
package
-
github.com
/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2021-115.yaml
web
Sources
- CVE List CVE-2021-23418
- GitHub Advisory GHSA-r2mj-8wgq-73m6
- NVD CVE-2021-23418
- OSV PYSEC-2021-115
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.