8.8
CWE
787
Advisory Published
CVE Published
Updated

CVE-2022-46340

First published: Thu Dec 08 2022(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
X.Org X Server=1.20.4
Redhat Enterprise Linux=6.0
Redhat Enterprise Linux=7.0
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=11.0
debian/xorg-server<=2:1.20.4-1+deb10u4
2:1.20.4-1+deb10u12
2:1.20.11-1+deb11u6
2:1.20.11-1+deb11u10
2:21.1.7-3+deb12u2
2:21.1.7-3+deb12u4
2:21.1.10-1
debian/xwayland
2:22.1.9-1
2:23.2.3-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2022-46340?

    CVE-2022-46340 is a vulnerability in X.Org that occurs due to a stack corruption issue in the XTestFakeInput request of the XTest extension.

  • What is the severity of CVE-2022-46340?

    The severity of CVE-2022-46340 is high with a CVSS score of 8.8.

  • Which software versions are affected by CVE-2022-46340?

    The affected software versions include xorg-server versions 2:1.20.4-1+deb10u9, 2:1.20.11-1+deb11u6, 2:21.1.7-3, and 2:21.1.8-1.

  • How can I fix CVE-2022-46340?

    To fix CVE-2022-46340, update xorg-server to versions 2:1.20.4-1+deb10u9, 2:1.20.11-1+deb11u6, 2:21.1.7-3, or 2:21.1.8-1.

  • Is Redhat Enterprise Linux vulnerable to CVE-2022-46340?

    No, Redhat Enterprise Linux versions 6.0, 7.0, 8.0, and 9.0 are not vulnerable to CVE-2022-46340.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203