CVE-2020-1693
Red Hat spacewalk: Improper Restriction of XML External Entity Reference
Check your servers for CVE-2020-1693
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-1693 affects spacewalk, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A flaw was found in Spacewalk up to version 2.9 where it was vulnerable to XML internal entity attacks via the /rpc/api endpoint. An unauthenticated remote attacker could use this flaw to retrieve the content of certain files and trigger a denial of service, or in certain circumstances, execute arbitrary code on the Spacewalk server.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 4.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 91.3% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-611 Improper Restriction of XML External Entity Reference
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of spacewalk and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i spacewalk
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-1693 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-1693RHEL, Rocky, Alma, Fedora
rpm -q spacewalk
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-1693Alpine
apk list --installed | grep -i spacewalkWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-1693
trivy image --scanners vuln IMAGE | grep CVE-2020-1693
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1693 bugzilla.redhat.com
Other references
- https://github.com/spacewalkproject/spacewalk/commit/74e28ec61d916c42061ef4347121650a1c962b0c github.com
- https://zeroauth.ltd/blog/2020/02/18/proof-of-concept-exploit-for-cve-2020-1693-spacewalk/ zeroauth.ltd
Source: the record CVE-2020-1693 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse