{"id":"CVE-2021-23418","aliases":["CVE-2021-23418","GHSA-r2mj-8wgq-73m6","PYSEC-2021-115","SNYK-PYTHON-GLANCES-1311807"],"related":[],"kind":"vulnerability","state":"published","title":"XML External Entity (XXE) Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-07-29T17:50:12.851Z","modified":"2026-06-17T03:38:43.620Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.2.1","status":"affected"}],"product":"Glances","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"PyPI","package":"glances","purl":"pkg:pypi/glances","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.2.1"}],"vendor":"glances_project","product":"glances","cpe":"cpe:2.3:a:glances_project:glances:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"85d5a6b4af31fcf785d5a61086cbbd166b40b07a"},{"type":"git","status":"affected","fixed":"9d6051be4a42f692392049fdbfc85d5dfa458b32"},{"type":"git","status":"affected","fixed":"4b87e979afdc06d98ed1b48da31e69eaa3a9fb94"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"PyPI","package":"glances","purl":"pkg:pypi/glances","repo":"https://github.com/nicolargo/glances","source":"pysec"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-GLANCES-1311807","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nicolargo/glances/commit/4b87e979afdc06d98ed1b48da31e69eaa3a9fb94","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nicolargo/glances/commit/85d5a6b4af31fcf785d5a61086cbbd166b40b07a","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nicolargo/glances/issues/1025","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nicolargo/glances/commit/9d6051be4a42f692392049fdbfc85d5dfa458b32","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23418","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-r2mj-8wgq-73m6","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/nicolargo/glances","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2021-115.yaml","tags":["web"],"sources":["ghsa"]}],"credits":["Unknown"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23418","url":"https://www.cve.org/CVERecord?id=CVE-2021-23418","licence":"CVE Terms of Use","modified":"2024-09-16T17:38:39.943Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r2mj-8wgq-73m6","url":"https://github.com/advisories/GHSA-r2mj-8wgq-73m6","licence":"CC-BY-4.0","modified":"2024-09-20T21:00:55.619Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23418","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23418","licence":"Public domain","modified":"2026-06-17T03:38:43.620Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-115","url":"https://osv.dev/vulnerability/PYSEC-2021-115","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:08.497Z"}],"updatedAt":"2026-11-25T22:58:02.882Z","epss":{"score":0.01653,"percentile":0.77268,"date":"2026-12-01T12:00:22.000Z"}}