Bug 1000443 (CVE-2013-4282) - CVE-2013-4282 spice: stack buffer overflow in reds_handle_ticket() function
Summary: CVE-2013-4282 spice: stack buffer overflow in reds_handle_ticket() function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-4282
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 999839 1000446 1000461 1014832 1014833
Blocks: 1000481 1024320
TreeView+ depends on / blocked
 
Reported: 2013-08-23 13:00 UTC by Petr Matousek
Modified: 2023-05-11 23:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-20 10:40:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1460 0 normal SHIPPED_LIVE Important: rhev-hypervisor6 security and bug fix update 2013-10-29 23:33:19 UTC
Red Hat Product Errata RHSA-2013:1473 0 normal SHIPPED_LIVE Important: spice-server security update 2013-10-29 23:32:42 UTC
Red Hat Product Errata RHSA-2013:1474 0 normal SHIPPED_LIVE Important: qspice security update 2013-10-29 23:32:34 UTC

Description Petr Matousek 2013-08-23 13:00:05 UTC
reds_handle_ticket uses a fixed size 'password' buffer for the decrypted password whose size is SPICE_MAX_PASSWORD_LENGTH. However, RSA_private_decrypt which we call for the decryption expects the
destination buffer to be at least RSA_size(link->tiTicketing.rsa) bytes long.

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

Acknowledgements:

This issue was discovered by Tomas Jamrisko of Red Hat.

Comment 6 errata-xmlrpc 2013-10-29 19:34:54 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:1474 https://rhn.redhat.com/errata/RHSA-2013-1474.html

Comment 7 errata-xmlrpc 2013-10-29 19:35:46 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:1473 https://rhn.redhat.com/errata/RHSA-2013-1473.html

Comment 8 errata-xmlrpc 2013-10-29 19:36:38 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2013:1460 https://rhn.redhat.com/errata/RHSA-2013-1460.html


Note You need to log in before you can comment on or make changes to this bug.