search menu icon-carat-right cmu-wordmark

CERT Coordination Center

NVIDIA UNIX GPU driver ARGB cursor buffer overflow in "NoScanout" mode

Vulnerability Note VU#771620

Original Release Date: 2013-04-05 | Last Revised: 2013-04-05

Overview

NVIDIA UNIX video drivers contain a buffer overflow vulnerability when run in NoScanout mode.

Description

The NVIDIA security advisory states:

NVIDIA UNIX GPU Driver ARGB Cursor Buffer Overflow in "NoScanout" Mode.

When the NVIDIA driver for the X Window System is operated in "NoScanout" mode, and an X client installs an ARGB cursor that is larger than the expected size (64x64 or 256x256, depending on the driver version), the driver will overflow a buffer. This can cause a denial of service (e.g., an X server segmentation fault), or could be exploited to achieve arbitrary code execution. Because the X server runs as setuid root in many configurations, an attacker could potentially use this vulnerability in those configurations to gain root privileges.

To install an ARGB cursor, an application would require a connection to a running X server. Normally, X servers are configured to only accept authenticated connections from the local host, but some X servers may be configured to more permissively allow connections, and/or to allow connections over a network.

"NoScanout" mode is enabled implicitly on NVIDIA products which lack display output connectors, and can be enabled explicitly on some other configurations with the X configuration option:

Option "UseDisplayDevice" "none"

NVIDIA GPU drivers for OSes other than Linux, FreeBSD, VMware ESX, and Solaris are not affected.

This vulnerability has been present since NVIDIA driver version 195.22.
The overflow is fixed in 304.88, 310.44, 313.30, and all drivers newer than those versions.

NVIDIA recommends that users upgrade to a fixed driver version, or disable NoScanout mode, where possible.

This vulnerability was identified by NVIDIA. There are no known reports of exploits of this vulnerability in the wild.


Additional details may be found in the full NVIDIA security advisory.

Impact

A local authenticated attacker may be able to exploit this vulnerability to gain privilege escalation to the root user.

Solution

Apply an Update

The overflow is fixed in driver versions 304.88, 310.44, 313.30, and all drivers newer than those versions. Users should download the drivers directly from NVIDIA.

Vendor Information

771620
 

NVIDIA Affected

Updated:  April 05, 2013

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References


CVSS Metrics

Group Score Vector
Base 6 AV:L/AC:M/Au:S/C:C/I:C/A:N
Temporal 5.2 E:ND/RL:OF/RC:C
Environmental 4.3 CDP:L/TD:M/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Thanks to the NVIDIA security team for reporting this vulnerability.

This document was written by Jared Allar.

Other Information

CVE IDs: CVE-2013-0131
Date Public: 2013-04-05
Date First Published: 2013-04-05
Date Last Updated: 2013-04-05 19:57 UTC
Document Revision: 10

Sponsored by CISA.