Out-of-bounds Write Affecting xorg-server package, versions <21.1.4-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-XORGSERVER-7015199
- published 23 May 2024
- disclosed 1 Sep 2022
Introduced: 1 Sep 2022
CVE-2022-2320 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
xorg-server
to version 21.1.4-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream xorg-server
package and not the xorg-server
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
A flaw was found in the Xorg-x11-server. The specific flaw exists within the handling of ProcXkbSetDeviceInfo requests. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. This flaw allows an attacker to escalate privileges and execute arbitrary code in the context of root.
References
- https://access.redhat.com/errata/RHSA-2022:5905
- https://access.redhat.com/errata/RHSA-2022:7583
- https://access.redhat.com/errata/RHSA-2022:8221
- https://access.redhat.com/errata/RHSA-2022:8222
- https://access.redhat.com/security/cve/CVE-2022-2320
- https://bugzilla.redhat.com/show_bug.cgi?id=2106683
- https://github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc
- https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/938
- https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/939
- https://lists.freedesktop.org/archives/xorg-announce/2022-July/003192.html
- https://security.gentoo.org/glsa/202210-30
- https://security.netapp.com/advisory/ntap-20221104-0003/
- https://www.zerodayinitiative.com/advisories/ZDI-22-963/