CVE-2020-29487
highpriority · track · 31EPSS 0.014 · 73 %ileEUUSEPSS · scored 2026-10-27
An issue was discovered in Xen XAPI before 2020-12-15. Certain xenstore keys provide feedback from the guest, and are therefore watched by toolstack. Specifically, keys are watched by xenopsd, and data are forwarded via RPC through message-switch to xapi. The watching logic in xenopsd sends one RPC update containing all data, any time any single xenstore key is updated, and therefore has O(N^2) time complexity. Furthermore, message-switch retains recent (currently 128) RPC messages for diagnostic purposes, yielding O(M*N) space complexity. The quantity of memory a single guest can monopolise is bounded by xenstored quota, but the quota is fairly large. It is believed to be in excess of 1G per malicious guest. In practice, this manifests as a host denial of service, either through message-switch thrashing against swap, or OOMing entirely, depending on dom0's configuration. (There are no quotas in xenopsd to limit the quantity of keys that result in RPC traffic.) A buggy or malicious guest can cause unreasonable memory usage in dom0, resulting in a host denial of service. All versions of XAPI are vulnerable. Systems that are not using the XAPI toolstack are not vulnerable.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2020-29487cnnvd
- https://packetstormsecurity.com/files/163474/Gentoo-Linux-Security-Advisory-202107-30.htmlcnnvd
- https://security.gentoo.org/glsa/202107-30cnnvd
- https://support.citrix.com/article/CTX286756Patchcnnvd
- https://vigilance.fr/vulnerability/Xen-denial-of-service-via-XAPI-Memory-Usage-34120cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.4417/cnnvd
- https://xenbits.xenproject.org/xsa/advisory-354.htmlcnnvd
- https://security.gentoo.org/glsa/202107-30enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan