Bug 1000443 (CVE-2013-4282)

Summary: CVE-2013-4282 spice: stack buffer overflow in reds_handle_ticket() function
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cfergeau, mburns, mkenneth, security-response-team, srevivo, uril, ykamay
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:40:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 999839, 1000446, 1000461, 1014832, 1014833    
Bug Blocks: 1000481, 1024320    

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