OESA-2022-2163 (CVE-2022-46342)
Vulnerability from osv_openeuler – Published: 2022-12-30 11:05 – Updated: 2026-08-06 11:05 – Source websiteXephyr is an X server which has been implemented as an ordinary X application. It runs in a window just like other X applications,but it is an X server itself in which you can run other software. It is a very useful tool for developers who wish to test their applications without running them on their real X server. Unlike Xnest, Xephyr renders to an X image rather than relaying the X protocol, and therefore supports the newer X extensions like Render and Composite.
Security Fix(es):
A vulnerability was found in X.Org. This security flaw occurs because the handler for the XvdiSelectVideoNotify request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X se(CVE-2022-46342)
A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIChangeProperty request has a length-validation issues, resulting in out-of-bounds memory reads and potential information disclosure. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46344)
A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions. This issue does not affect systems where client and server use the same byte order.(CVE-2022-46340)
A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46341)
A vulnerability was found in X.Org. This security flaw occurs because the handler for the ScreenSaverSetAttributes request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46343)
A vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-4283)
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"xorg-x11-server-devel-1.20.8-13.oe1.aarch64.rpm",
"xorg-x11-server-Xephyr-1.20.8-13.oe1.aarch64.rpm",
"xorg-x11-server-debuginfo-1.20.8-13.oe1.aarch64.rpm",
"xorg-x11-server-debugsource-1.20.8-13.oe1.aarch64.rpm",
"xorg-x11-server-1.20.8-13.oe1.aarch64.rpm"
],
"noarch": [
"xorg-x11-server-help-1.20.8-13.oe1.noarch.rpm"
],
"src": [
"xorg-x11-server-1.20.8-13.oe1.src.rpm"
],
"x86_64": [
"xorg-x11-server-devel-1.20.8-13.oe1.x86_64.rpm",
"xorg-x11-server-debuginfo-1.20.8-13.oe1.x86_64.rpm",
"xorg-x11-server-1.20.8-13.oe1.x86_64.rpm",
"xorg-x11-server-Xephyr-1.20.8-13.oe1.x86_64.rpm",
"xorg-x11-server-debugsource-1.20.8-13.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "xorg-x11-server",
"purl": "pkg:rpm/openEuler/xorg-x11-server\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.8-13.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"xorg-x11-server-debuginfo-1.20.8-14.oe1.aarch64.rpm",
"xorg-x11-server-debugsource-1.20.8-14.oe1.aarch64.rpm",
"xorg-x11-server-1.20.8-14.oe1.aarch64.rpm",
"xorg-x11-server-Xephyr-1.20.8-14.oe1.aarch64.rpm",
"xorg-x11-server-devel-1.20.8-14.oe1.aarch64.rpm"
],
"noarch": [
"xorg-x11-server-help-1.20.8-14.oe1.noarch.rpm"
],
"src": [
"xorg-x11-server-1.20.8-14.oe1.src.rpm"
],
"x86_64": [
"xorg-x11-server-Xephyr-1.20.8-14.oe1.x86_64.rpm",
"xorg-x11-server-debuginfo-1.20.8-14.oe1.x86_64.rpm",
"xorg-x11-server-1.20.8-14.oe1.x86_64.rpm",
"xorg-x11-server-debugsource-1.20.8-14.oe1.x86_64.rpm",
"xorg-x11-server-devel-1.20.8-14.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP3",
"name": "xorg-x11-server",
"purl": "pkg:rpm/openEuler/xorg-x11-server\u0026distro=openEuler-20.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.8-14.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"xorg-x11-server-Xvfb-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-debuginfo-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-devel-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-Xdmx-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-debugsource-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-Xnest-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-Xephyr-1.20.11-13.oe2203.aarch64.rpm",
"xorg-x11-server-common-1.20.11-13.oe2203.aarch64.rpm"
],
"noarch": [
"xorg-x11-server-source-1.20.11-13.oe2203.noarch.rpm",
"xorg-x11-server-help-1.20.11-13.oe2203.noarch.rpm"
],
"src": [
"xorg-x11-server-1.20.11-13.oe2203.src.rpm"
],
"x86_64": [
"xorg-x11-server-Xephyr-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-Xvfb-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-debugsource-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-Xnest-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-common-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-debuginfo-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-devel-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-1.20.11-13.oe2203.x86_64.rpm",
"xorg-x11-server-Xdmx-1.20.11-13.oe2203.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS",
"name": "xorg-x11-server",
"purl": "pkg:rpm/openEuler/xorg-x11-server\u0026distro=openEuler-22.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.11-13.oe2203"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "Xephyr is an X server which has been implemented as an ordinary X application. It runs in a window just like other X applications,but it is an X server itself in which you can run other software. It is a very useful tool for developers who wish to test their applications without running them on their real X server. Unlike Xnest, Xephyr renders to an X image rather than relaying the X protocol, and therefore supports the newer X extensions like Render and Composite.\r\n\r\nSecurity Fix(es):\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs because the handler for the XvdiSelectVideoNotify request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X se(CVE-2022-46342)\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs because the handler for the XIChangeProperty request has a length-validation issues, resulting in out-of-bounds memory reads and potential information disclosure. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46344)\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions. This issue does not affect systems where client and server use the same byte order.(CVE-2022-46340)\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46341)\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs because the handler for the ScreenSaverSetAttributes request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-46343)\r\n\r\nA vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.(CVE-2022-4283)",
"id": "OESA-2022-2163",
"modified": "2026-08-06T11:05:28Z",
"published": "2022-12-30T11:05:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2163"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46342"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46344"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46340"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46341"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-46343"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4283"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "xorg-x11-server security update",
"upstream": [
"CVE-2022-46342",
"CVE-2022-46344",
"CVE-2022-46340",
"CVE-2022-46341",
"CVE-2022-46343",
"CVE-2022-4283"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.