CVE-2019-19579
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn issue was discovered in Xen through 4.12.x allowing attackers to gain host OS privileges via DMA in a situation where an untrusted domain has access to a physical device (and assignable-add is not used), because of an incomplete fix for CVE-2019-18424. XSA-302 relies on the use of libxl's "assignable-add" feature to prepare devices to be assigned to untrusted guests. Unfortunately, this is not considered a strictly required step for device assignment. The PCI passthrough documentation on the wiki describes alternate ways of preparing devices for assignment, and libvirt uses its own ways as well. Hosts where these "alternate" methods are used will still leave the system in a vulnerable state after the device comes back from a guest. An untrusted domain with access to a physical device can DMA into host memory, leading to privilege escalation. Only systems where guests are given direct access to physical devices capable of DMA (PCI pass-through) are vulnerable. Systems which do not use PCI pass-through are not vulnerable.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceXen through 4.12.x contains an incomplete fix for CVE-2019-18424 (XSA-302). The original fix relied on libxl's 'assignable-add' feature to secure devices before passthrough, but alternate preparation methods (used by libvirt and documented on the wiki) leave systems vulnerable. An untrusted domain with access to a physical device capable of DMA can perform DMA attacks into host memory, achieving privilege escalation to the host OS.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 30<= 4.12.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Physical
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Xen hypervisor versionRun 'xl version' or 'xm version' to obtain the installed Xen version numberAffected if The version is 4.12.1 or lower (any version up to and including 4.12.1)
-
Verify PCI passthrough is enabled in the hypervisorCheck for 'passthrough' or 'pci' settings in /etc/xen/xl.conf and examine xl config files for 'pci' device assignments with 'seize' option or similar PCI device assignment directivesAffected if PCI passthrough is actively configured and assigned to any guest domain
-
Identify domains with assigned PCI devices capable of DMARun 'xl pci-list <domain>' for each domain to list assigned PCI devices. Focus on devices that support DMA (common examples include network cards, storage controllers, GPUs)Affected if Any untrusted or less-trusted guest domain has a PCI device with DMA capability directly assigned
-
Check how device assignment was preparedReview system documentation or scripts used to prepare devices for passthrough. Verify whether libxl's 'assignable-add' feature was used versus alternate methods (such as manual device preparation via libvirt or wiki-documented methods)Affected if Devices were prepared using methods other than libxl's native 'assignable-add' workflow, leaving the incomplete fix bypassed
-
Assess trust level of PCI-passthrough-enabled guestsReview domain configurations and determine which guests with PCI passthrough are considered untrusted or less trusted (such as horizontally-shared tenants, demo systems, or domains running third-party code)Affected if Any untrusted guest domain has direct access to a physical PCI device capable of DMA operations
A system is affected if it runs Xen 4.12.1 or lower AND has untrusted guest domains with directly assigned PCI devices that support DMA, particularly when devices were prepared using methods other than libxl's native assignable-add feature.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataDisable PCI passthrough for untrusted guests if not strictly required; if needed, ensure proper device isolation mechanisms are in place and consider applying Xen security patches when available. Systems without PCI passthrough are not vulnerable.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2019-19579 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2019-19579 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data