virglrenderer up to 0.5.x Array Access tgsi_text.c parse_instruction memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability has been found in virglrenderer up to 0.5.x and classified as problematic. Affected by this vulnerability is the function parse_instruction
of the file gallium/auxiliary/tgsi/tgsi_text.c of the component Array Access. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect availability. The summary by CVE is:
The parse_instruction function in gallium/auxiliary/tgsi/tgsi_text.c in virglrenderer before 0.6.0 allows local guest OS users to cause a denial of service (out-of-bounds array access and process crash) via a crafted texture instruction.
The bug was discovered 01/24/2017. The weakness was shared 03/15/2017 by Li Qiang with 360.cn Inc. (oss-sec). The advisory is shared at openwall.com. This vulnerability is known as CVE-2017-5580 since 01/25/2017. The exploitation appears to be easy. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 50 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97913 (SUSE SLED12 / SLES12 Security Update : virglrenderer (SUSE-SU-2017:0798-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169822 (SUSE Enterprise Linux Security Update for virglrenderer (SUSE-SU-2017:0798-1)).
Upgrading to version 0.6.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at cgit.freedesktop.org. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (97913). The entries 97793, 97950, 98124 and 98152 are related to this item.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.4
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 97913
Nessus Name: SUSE SLED12 / SLES12 Security Update : virglrenderer (SUSE-SU-2017:0798-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: virglrenderer 0.6.0
Patch: cgit.freedesktop.org
Timeline
01/24/2017 🔍01/25/2017 🔍
01/25/2017 🔍
03/15/2017 🔍
03/15/2017 🔍
03/16/2017 🔍
03/22/2017 🔍
03/23/2017 🔍
09/08/2020 🔍
Sources
Advisory: openwall.comResearcher: Li Qiang
Organization: 360.cn Inc.
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-5580 (🔍)
SecurityFocus: 95782 - Virglrenderer CVE-2017-5580 Denial of Service Vulnerability
OSVDB: - CVE-2017-5580 - virglrenderer - Out-of-Bounds Access Issue
See also: 🔍
Entry
Created: 03/16/2017 13:37Updated: 09/08/2020 16:05
Changes: 03/16/2017 13:37 (79), 09/08/2020 16:05 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.