UBUNTU-CVE-2020-25595 (CVE-2020-25595)

Vulnerability from osv_ubuntu – Published: 2020-09-23 21:15 – Updated: 2026-04-22 07:39 – Source website
VLAI
Details

An issue was discovered in Xen through 4.14.x. The PCI passthrough code improperly uses register data. Code paths in Xen's MSI handling have been identified that act on unsanitized values read back from device hardware registers. While devices strictly compliant with PCI specifications shouldn't be able to affect these registers, experience shows that it's very common for devices to have out-of-spec "backdoor" operations that can affect the result of these reads. A not fully trusted guest may be able to crash Xen, leading to a Denial of Service (DoS) for the entire system. Privilege escalation and information leaks cannot be excluded. All versions of Xen supporting PCI passthrough are affected. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only guests with passed through PCI devices may be able to leverage the vulnerability. Only systems passing through devices with out-of-spec ("backdoor") functionality can cause issues. Experience shows that such out-of-spec functionality is common; unless you have reason to believe that your device does not have such functionality, it's better to assume that it does.

Upstream
Related
Impacted products
Ecosystem Package Version
Ubuntu:16.04:LTS xen
pkg:deb/ubuntu/xen@4.6.5-0ubuntu1.4?arch=source&distro=xenial
Affected: All versions (ecosystem)
4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu44.6.0-1ubuntu4.14.6.0-1ubuntu4.24.6.0-1ubuntu4.34.6.5-0ubuntu14.6.5-0ubuntu1.1 and 2 more (see JSON)
Ubuntu:18.04:LTS xen
pkg:deb/ubuntu/xen@4.9.2-0ubuntu1?arch=source&distro=bionic
Affected: All versions (ecosystem)
4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1
Ubuntu:20.04:LTS xen
pkg:deb/ubuntu/xen@4.11.3+24-g14b62ab3e5-1ubuntu2.3?arch=source&distro=focal
Affected: < 4.11.3+24-g14b62ab3e5-1ubuntu2.3 (ecosystem)
4.9.2-0ubuntu24.9.2-0ubuntu64.9.2-0ubuntu74.11.3+24-g14b62ab3e5-1ubuntu14.11.3+24-g14b62ab3e5-1ubuntu24.11.3+24-g14b62ab3e5-1ubuntu2.2

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libxen-4.6",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "libxenstore3.0",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.4-amd64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.4-arm64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.4-armhf",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.5-amd64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.5-arm64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.5-armhf",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.6-amd64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.6-arm64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-hypervisor-4.6-armhf",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-system-amd64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-system-arm64",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-system-armhf",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-utils-4.6",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xen-utils-common",
            "binary_version": "4.6.5-0ubuntu1.4"
          },
          {
            "binary_name": "xenstore-utils",
            "binary_version": "4.6.5-0ubuntu1.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "xen",
        "purl": "pkg:deb/ubuntu/xen@4.6.5-0ubuntu1.4?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.5.1-0ubuntu1",
        "4.5.1-0ubuntu2",
        "4.6.0-1ubuntu1",
        "4.6.0-1ubuntu2",
        "4.6.0-1ubuntu4",
        "4.6.0-1ubuntu4.1",
        "4.6.0-1ubuntu4.2",
        "4.6.0-1ubuntu4.3",
        "4.6.5-0ubuntu1",
        "4.6.5-0ubuntu1.1",
        "4.6.5-0ubuntu1.2",
        "4.6.5-0ubuntu1.4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libxen-4.9",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "libxenstore3.0",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.6-amd64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.6-arm64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.6-armhf",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.7-amd64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.7-arm64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.7-armhf",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.8-amd64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.8-arm64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.8-armhf",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.9-amd64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.9-arm64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-hypervisor-4.9-armhf",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-system-amd64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-system-arm64",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-system-armhf",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-utils-4.9",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xen-utils-common",
            "binary_version": "4.9.2-0ubuntu1"
          },
          {
            "binary_name": "xenstore-utils",
            "binary_version": "4.9.2-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "xen",
        "purl": "pkg:deb/ubuntu/xen@4.9.2-0ubuntu1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.0-0ubuntu3",
        "4.9.0-0ubuntu4",
        "4.9.2-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libxencall1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxendevicemodel1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxenevtchn1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxenforeignmemory1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxengnttab1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxenmisc4.11",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxenstore3.0",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxentoolcore1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "libxentoollog1",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.11-amd64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.11-arm64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.11-armhf",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.9-amd64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.9-arm64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-4.9-armhf",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-hypervisor-common",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-system-amd64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-system-arm64",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-system-armhf",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-utils-4.11",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xen-utils-common",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          },
          {
            "binary_name": "xenstore-utils",
            "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "xen",
        "purl": "pkg:deb/ubuntu/xen@4.11.3+24-g14b62ab3e5-1ubuntu2.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.11.3+24-g14b62ab3e5-1ubuntu2.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.9.2-0ubuntu2",
        "4.9.2-0ubuntu6",
        "4.9.2-0ubuntu7",
        "4.11.3+24-g14b62ab3e5-1ubuntu1",
        "4.11.3+24-g14b62ab3e5-1ubuntu2",
        "4.11.3+24-g14b62ab3e5-1ubuntu2.2"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in Xen through 4.14.x. The PCI passthrough code improperly uses register data. Code paths in Xen\u0027s MSI handling have been identified that act on unsanitized values read back from device hardware registers. While devices strictly compliant with PCI specifications shouldn\u0027t be able to affect these registers, experience shows that it\u0027s very common for devices to have out-of-spec \"backdoor\" operations that can affect the result of these reads. A not fully trusted guest may be able to crash Xen, leading to a Denial of Service (DoS) for the entire system. Privilege escalation and information leaks cannot be excluded. All versions of Xen supporting PCI passthrough are affected. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only guests with passed through PCI devices may be able to leverage the vulnerability. Only systems passing through devices with out-of-spec (\"backdoor\") functionality can cause issues. Experience shows that such out-of-spec functionality is common; unless you have reason to believe that your device does not have such functionality, it\u0027s better to assume that it does.",
  "id": "UBUNTU-CVE-2020-25595",
  "modified": "2026-04-22T07:39:31Z",
  "published": "2020-09-23T21:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-25595"
    },
    {
      "type": "REPORT",
      "url": "https://xenbits.xen.org/xsa/advisory-337.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5617-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-25595"
    }
  ],
  "related": [
    "USN-5617-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-25595"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.