Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464248 (CVE-2013-0131) - <x11-drivers/nvidia-drivers-{304.88,310.44,313.30} - NVIDIA UNIX GPU Driver ARGB Cursor Buffer Overflow in "NoScanout" Mode (CVE-2013-0131)
Summary: <x11-drivers/nvidia-drivers-{304.88,310.44,313.30} - NVIDIA UNIX GPU Driver A...
Status: RESOLVED FIXED
Alias: CVE-2013-0131
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL: http://nvidia.custhelp.com/app/answer...
Whiteboard: B1 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-02 21:32 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-04-11 17:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-04-02 21:32:38 UTC
Waiting for sources to hit the mirrors...



CVE-2013-0131: 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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-03 18:08:31 UTC
Arch teams, please test and mark stable:
=x11-drivers/nvidia-drivers-304.88
=x11-drivers/nvidia-drivers-310.44
=x11-drivers/nvidia-drivers-313.30
Stable KEYWORDS : amd64 x86
Comment 2 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-04-07 13:09:28 UTC
(In reply to comment #1)
> Arch teams, please test and mark stable:
> =x11-drivers/nvidia-drivers-304.88
> =x11-drivers/nvidia-drivers-310.44
> =x11-drivers/nvidia-drivers-313.30
> Stable KEYWORDS : amd64 x86

Done.
Comment 3 Sean Amoss (RETIRED) gentoo-dev Security 2013-04-08 21:25:04 UTC
Thanks, everyone.

Added to - and updated - existing GLSA draft.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2013-04-08 22:40:24 UTC
This issue was resolved and addressed in
 GLSA 201304-01 at http://security.gentoo.org/glsa/glsa-201304-01.xml
by GLSA coordinator Sean Amoss (ackle).
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2013-04-11 17:01:29 UTC
CVE-2013-0131 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-0131):
  Buffer overflow in the NVIDIA GPU driver before 304.88, 310.x before 310.44,
  and 313.x before 313.30 for the X Window System on UNIX, when NoScanout mode
  is enabled, allows remote authenticated users to execute arbitrary code via
  a large ARGB cursor.