Vulnerabilities / CVE-2021-23418

critical

CVE-2021-23418

The package glances before 3.2.1 are vulnerable to XML External Entity ...

Published Modified CWE 611
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
debian 10glancesno fix listed
debian 11glancesno fix listed
debian 12glances3.2.3.1+dfsg-1
debian 13glances3.2.3.1+dfsg-1
debian 14glances3.2.3.1+dfsg-1
debian 9glancesno fix listed
echoglances3.2.3.1+dfsg-1
pip::GitHub Security Advisory pipglances3.2.1
ubuntu 16.04-ESMglances2.3-1ubuntu0.1~esm1
ubuntu 18.04-ESMglances2.11.1-3ubuntu0.1~esm1
ubuntu 20.04-ESMglances3.1.3-1ubuntu0.1~esm1

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.