Heap-based Buffer Overflow Affecting xwayland package, versions <23.2.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-XWAYLAND-7015469
- published 23 May 2024
- disclosed 28 Feb 2024
Introduced: 28 Feb 2024
CVE-2024-21885 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
xwayland
to version 23.2.4-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream xwayland
package and not the xwayland
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.
References
- https://access.redhat.com/errata/RHSA-2024:0320
- https://access.redhat.com/errata/RHSA-2024:0557
- https://access.redhat.com/errata/RHSA-2024:0558
- https://access.redhat.com/errata/RHSA-2024:0597
- https://access.redhat.com/errata/RHSA-2024:0607
- https://access.redhat.com/errata/RHSA-2024:0614
- https://access.redhat.com/errata/RHSA-2024:0617
- https://access.redhat.com/errata/RHSA-2024:0621
- https://access.redhat.com/errata/RHSA-2024:0626
- https://access.redhat.com/errata/RHSA-2024:0629
- https://access.redhat.com/security/cve/CVE-2024-21885
- https://bugzilla.redhat.com/show_bug.cgi?id=2256540
- https://access.redhat.com/errata/RHSA-2024:2169
- https://access.redhat.com/errata/RHSA-2024:2170
- https://security.netapp.com/advisory/ntap-20240503-0004/
- https://access.redhat.com/errata/RHSA-2024:2995
- https://access.redhat.com/errata/RHSA-2024:2996