Skip to content
Heist/ feed
Back to feed
HighFix available

xen — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-42320

Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid. When a domain is gone, there might be Xenstore nodes left with access rights containing the domid of the removed domain. This is normally no problem, as those access right entries will be corrected when such a node is written later. There is a small time window when a new domain is created, where the access rights of a past domain with the same domid as the new one will be regarded to be still valid, leading to the new domain being able to get access to a node which was meant to be accessible by the removed domain. For this to happen another domain needs to write the node before the newly created domain is being introduced to Xenstore by dom0.

Products
xen
Affected versions
Not specified
Fixed versions
4.16.2+90-g0d39a6d1ae-1
CVEs
CVE-2022-42320
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:31 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-42320

core-osv · Original source

Published 1 Nov 2022, 13:15 UTC

Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid. When a domain is gone, there might be Xenstore nodes left with access rights containing the domid of the removed domain. This is normally no problem, as those access right entries will be corrected when such a node is written later. There is a small time window when a new domain is created, where the access rights of a past domain with the same domid as the new one will be regarded to be still valid, leading to the new domain being able to get access to a node which was meant to be accessible by the removed domain. For this to happen another domain needs to write the node before the newly created domain is being introduced to Xenstore by dom0.

osv:DEBIAN-CVE-2022-42320

xen

Fixed versions: 4.16.2+90-g0d39a6d1ae-1

xen

Fixed versions: 4.16.2+90-g0d39a6d1ae-1

xen

Fixed versions: 4.16.2+90-g0d39a6d1ae-1

Complete source record
{
  "id": "ae0d40e87377744c30b5c30eb7704b5aa20c74ff55e8fa298ed344211b7062ff",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-42320",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-42320",
    "summary": "Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid. When a domain is gone, there might be Xenstore nodes left with access rights containing the domid of the removed domain. This is normally no problem, as those access right entries will be corrected when such a node is written later. There is a small time window when a new domain is created, where the access rights of a past domain with the same domid as the new one will be regarded to be still valid, leading to the new domain being able to get access to a node which was meant to be accessible by the removed domain. For this to happen another domain needs to write the node before the newly created domain is being introduced to Xenstore by dom0.",
    "evidence": "osv:DEBIAN-CVE-2022-42320",
    "products": [
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.16.2+90-g0d39a6d1ae-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.16.2+90-g0d39a6d1ae-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.16.2+90-g0d39a6d1ae-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-42320",
      "aliases": [
        "DEBIAN-CVE-2022-42320"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.16.2+90-g0d39a6d1ae-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42320.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.16.2+90-g0d39a6d1ae-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42320.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.16.2+90-g0d39a6d1ae-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42320.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:03:05.512961794Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-42320"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-42320"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-42320",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 325116,
  "published_at": "2022-11-01T13:15:11.817+00:00"
}