CVE-2017-7506
High · 8.8CVSS
8.8
EPSS
4.2%
Published
Jul 18, 2017
CISA due date
—
Cloudanix analysis
An authorized user can send bad messages that crash a server component or cause it to leak memory.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds memory access in the SPICE server when processing specially crafted messages from an authenticated attacker, resulting in crash and/or server memory leak.
Why it matters to the business
Potential denial of service and memory exposure on affected virtualization or remote desktop systems using the SPICE protocol, with limited urgency given low exploit likelihood and no observed ransomware use despite the vulnerability being public for many years.
How an attack unfolds
An attacker with valid credentials to the SPICE server sends specially crafted messages that trigger out-of-bounds memory access; no named threat actors or campaigns are associated with exploitation.
How to fix it
Upgrade affected packages to the listed fixed versions such as postgresql (Alpine:v3.10): fixed in 10.2-r0; apply vendor patches that resolve the out-of-bounds handling in SPICE versions after 0.13.
How to confirm the fix worked
Confirm SPICE server version exceeds 0.13 and verify package upgrades to postgresql (Alpine:v3.10) 10.2-r0 or later; test message handling with boundary cases to ensure no crash or leak occurs.
Typical attack path
- Obtain valid authentication to the SPICE server
- Craft and transmit malicious protocol messages
- Trigger out-of-bounds memory access
- Observe server crash or memory leak
How to detect it
Review SPICE server logs for unusual message processing errors or repeated crashes around the time of authenticated sessions; no specific threat actor indicators are available.
What your security team should do
- Prioritize patching systems exposing SPICE services
- Monitor EPSS and exploit maturity indicators for any rise in activity
- Review authentication controls around SPICE servers to reduce attack surface
The record
spice versions though 0.13 are vulnerable to out-of-bounds memory access when processing specially crafted messages from authenticated attacker to the spice server resulting into crash and/or server memory leak.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.11 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.12 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.13 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.14 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.15 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.16 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.17 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.18 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.19 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.20 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.21 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.22 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.3 | spice | 0 | 0.12.6-r2 |
| Alpine:v3.4 | spice | 0 | 0.12.7-r1 |
| Alpine:v3.5 | spice | 0 | 0.12.8-r3 |
| Alpine:v3.6 | spice | 0 | 0.13.3-r2 |
| Alpine:v3.7 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.8 | spice | 0 | 0.12.8-r4 |
| Alpine:v3.9 | spice | 0 | 0.12.8-r4 |
| Debian:11 | spice | 0 | 0.12.8-2.2 |
| Debian:12 | spice | 0 | 0.12.8-2.2 |
| Debian:13 | spice | 0 | 0.12.8-2.2 |
| Debian:8 | spice | 0 | 0.12.5-1+deb8u5 |
| Debian:9 | spice | 0 | 0.12.8-2.1+deb9u1 |
| Mageia:5 | spice | 0 | 0.12.5-2.5.mga5 |
| Mageia:6 | spice | 0 | 0.13.90-1.mga6 |
| Mageia:6 | spice-protocol | 0 | 0.12.13-1.mga6 |
| Red Hat:enterprise_linux:6::client | spice-server | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::client | spice-server-debuginfo | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::client | spice-server-devel | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::computenode | spice-server | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::computenode | spice-server-debuginfo | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::computenode | spice-server-devel | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::server | spice-server | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::server | spice-server-debuginfo | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::server | spice-server-devel | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::workstation | spice-server | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::workstation | spice-server-debuginfo | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:6::workstation | spice-server-devel | 0 | 0:0.12.4-16.el6_10.2 |
| Red Hat:enterprise_linux:7::client | spice | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::client | spice-debuginfo | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::client | spice-server | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::client | spice-server-devel | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::computenode | spice | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::computenode | spice-debuginfo | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::computenode | spice-server | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::computenode | spice-server-devel | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::hypervisor | imgbased | 0 | 0:0.9.47-0.1.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | ovirt-node-ng | 0 | 0:4.1.5-0.20170810.0.el7 |
| Red Hat:enterprise_linux:7::hypervisor | ovirt-node-ng-nodectl | 0 | 0:4.1.5-0.20170810.0.el7 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-release-virtualization-host | 0 | 0:4.1-5.0.el7 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host | 0 | 0:4.1-20170816.2.el7_4 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host-image-update | 0 | 0:4.1-20170816.2.el7_4 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host-image-update-placeholder | 0 | 0:4.1-5.0.el7 |
| Red Hat:enterprise_linux:7::server | spice | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::server | spice-debuginfo | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::server | spice-server | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::server | spice-server-devel | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::workstation | spice | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::workstation | spice-debuginfo | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::workstation | spice-server | 0 | 0:0.12.8-2.el7.1 |
| Red Hat:enterprise_linux:7::workstation | spice-server-devel | 0 | 0:0.12.8-2.el7.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | spice | 0 | 0.12.7-10.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | spice | 0 | 0.12.8-3.9 |
| SUSE:Linux Enterprise Server 11 SP4 | spice | 0 | 0.12.4-11.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | spice | 0 | 0.12.5-10.1 |
| SUSE:Linux Enterprise Server 12 SP2 | spice | 0 | 0.12.7-10.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | spice | 0 | 0.12.8-3.9 |
| SUSE:Linux Enterprise Server 12-LTSS | spice | 0 | 0.12.4-8.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | spice | 0 | 0.12.4-11.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | spice | 0 | 0.12.4-8.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | spice | 0 | 0.12.5-10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | spice | 0 | 0.12.7-10.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | spice | 0 | 0.12.8-3.9 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | spice | 0 | 0.12.4-11.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | spice | 0 | 0.12.7-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | spice | 0 | 0.12.8-3.9 |
| SUSE:OpenStack Cloud 6 | spice | 0 | 0.12.5-10.1 |
| Ubuntu:14.04:LTS | spice | 0 | 0.12.4-0nocelt2ubuntu1.5 |
| Ubuntu:16.04:LTS | spice | 0 | 0.12.6-4ubuntu0.3 |
Related vulnerabilities
- CVE-2016-0749 The smartcard interaction in SPICE allows remote attackers to cause a denial of service… Also affects spice
- CVE-2015-5260 Heap-based buffer overflow in SPICE before 0.12.6 allows guest OS users to cause a denial… Also affects spice
- CVE-2015-3247 Race condition in the worker_update_monitors_config function in SPICE 0.12.4 allows a… Also affects spice
- CVE-2019-1125 An information disclosure vulnerability exists when certain central processing units… Also affects imgbased
- CVE-2018-1111 DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable… Also affects imgbased
- CVE-2019-11477 Jonathan Looney discovered that the TCP_SKB_CB(skb)->tcp_gso_segs value was subject to an… Also affects redhat-release-virtualization-host
- CVE-2019-11478 Jonathan Looney discovered that the TCP retransmission queue implementation in… Also affects redhat-release-virtualization-host
- CVE-2019-11479 Jonathan Looney discovered that the Linux kernel default MSS is hard-coded to 48 bytes. Also affects redhat-release-virtualization-host