CVE-2013-4130: Medium severity Spice Project Spice vulnerability

Published Jul 15, 2013
·
Updated

Currently, both redchannelpipesaddtype() and redchannelpipesaddemptymsg() use plaing RINGFOREACH() which is not safe versus removals from the ring within the loop body. Yet, when (network) error does occur, the current item could be removed from the ring down the road and the assertion in RINGFOREACH()'s ringnext() could trip, causing the process containing the spice server to abort.

An user able to initiate spice connection to the guest could use this flaw to crash the guest.

Upstream fix: http://cgit.freedesktop.org/spice/spice/commit/?id=53488f0275d6c8a121af49f7ac817d09ce68090d

Acknowledgements:

This issue was discovered by David Gibson of Red Hat.

Other sources

The (1) redchannelpipesaddtype and (2) redchannelpipesaddemptymsg functions in server/redchannel.c in SPICE before 0.12.4 do not properly perform ring loops, which might allow remote attackers to cause a denial of service (reachable assertion and server exit) by triggering a network error.

Affected Software

25 affected components
Spice Project Spice<=0.12.3
Spice Project Spice=0.5.2
Spice Project Spice=0.5.3
Spice Project Spice=0.6.0
Spice Project Spice=0.6.1
Spice Project Spice=0.6.2
Spice Project Spice=0.6.3
Spice Project Spice=0.6.4
Spice Project Spice=0.7.0
Spice Project Spice=0.7.1
Spice Project Spice=0.7.2
Spice Project Spice=0.7.3
Spice Project Spice=0.8.0
Spice Project Spice=0.8.1
Spice Project Spice=0.8.2
Spice Project Spice=0.8.3
Spice Project Spice=0.9.0
Spice Project Spice=0.9.1
Spice Project Spice=0.10.0
Spice Project Spice=0.10.1
Spice Project Spice=0.11.0
Spice Project Spice=0.11.3
Spice Project Spice=0.12.0
Spice Project Spice=0.12.2
Ubuntu=13.04

Event History

Jul 15, 2013
Data Sourced
11:20 PM
DescriptionSeverityAffected Software
Aug 20, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-4130?

CVE-2013-4130 is considered a moderate severity vulnerability due to potential exploitation in the red channel pipe handling.

2

How do I fix CVE-2013-4130?

To fix CVE-2013-4130, upgrade to the latest version of SPICE that is not affected, which is above 0.12.3.

3

Which versions of SPICE are affected by CVE-2013-4130?

CVE-2013-4130 affects SPICE versions from 0.5.2 up to and including 0.12.3.

4

What is the impact of CVE-2013-4130?

The impact of CVE-2013-4130 includes possible network errors that could lead to an unsafe removal of items from the processing ring.

5

Is there a workaround for CVE-2013-4130?

There are limited workarounds for CVE-2013-4130; the recommended approach is to apply the available security updates.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203