CVE-2021-23418
JSON

6.3medium

XML External Entity (XXE) Injection

Severity
6.3medium CVSS:3.1 by snyk
Exploit likelihood
1.65% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-r2mj-8wgq-73m6PYSEC-2021-115SNYK-PYTHON-GLANCES-1311807

Description

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.

Affected

Product or packageVersionsReported by
Glancesfrom unspecified before 3.2.1CVE List
glances (PyPI)before 3.2.1, before 85d5a6b4af31fcf785d5a61086cbbd166b40b07a, before 9d6051be4a42f692392049fdbfc85d5dfa458b32, before 4b87e979afdc06d98ed1b48da31e69eaa3a9fb94GitHub Advisory Database, PyPA Advisory Database
glances_project glancesbefore 3.2.1NVD

All scores

snyk6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Los paquetes anteriores a la versión 3.2.1 son vulnerables a la Inyección de Entidades Externas XML (XXE) a través del uso de Fault para analizar datos XML que no son de confianza, y que se sabe que son vulnerables a ataques XML

References

https://snyk.io/vuln/SNYK-PYTHON-GLANCES-1311807advisory, patch, third-party-advisory, web
https://github.com/nicolargo/glances/commit/4b87e979afdc06d98ed1b48da31e69eaa3a9fb94fix, patch, third-party-advisory, web
https://github.com/nicolargo/glances/commit/85d5a6b4af31fcf785d5a61086cbbd166b40b07afix, patch, third-party-advisory, web
https://github.com/nicolargo/glances/issues/1025exploit, issue-tracking, patch, report, third-party-advisory, web
https://github.com/nicolargo/glances/commit/9d6051be4a42f692392049fdbfc85d5dfa458b32fix, patch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-23418advisory
https://github.com/advisories/GHSA-r2mj-8wgq-73m6advisory
https://github.com/nicolargo/glancespackage
https://github.com/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2021-115.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2021-23418 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-r2mj-8wgq-73m6 changed 2024-09-20CC-BY-4.0
NVDCVE-2021-23418 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-115 changed 2023-11-08CC-BY-4.0