Bug 438127 (CVE-2008-1289)

Summary: CVE-2008-1289 asterisk: Two buffer overflows in RTP Codec Payload Handling (AST-2008-002)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: jeff
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-1289
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-31 09:43:51 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: 438132, 438133, 438134    
Bug Blocks:    

Description Tomas Hoger 2008-03-19 10:16:06 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-1289 to the following vulnerability:

Asterisk Project Security Advisory - AST-2008-002

Two buffer overflows exist in the RTP payload handling code of Asterisk. Both
overflows can be caused by an INVITE or any other SIP packet with SDP. The
request may need to be authenticated depending on configuration of the Asterisk
installation.

The first overflow is caused by sending a payload number that surpasses the
programmed maximum payload number of 256. This causes an invalid memory write
outside of the buffer. While this does not allow the attacker to write
arbitrary data it does allow the attacker to write a 0 to other memory
locations.

The second overflow is caused by sending more than 32 RTP payloads. This causes
a buffer on the stack to overflow allowing the attacker to write values between
0 and 256 (the maximum payload number) to memory locations after the buffer.

References:
http://downloads.digium.com/pub/security/AST-2008-002.html

Comment 3 Fedora Update System 2008-03-19 15:45:33 UTC
asterisk-1.4.18.1-1.fc8 has been submitted as an update for Fedora 8

Comment 4 Fedora Update System 2008-03-20 03:50:31 UTC
asterisk-1.4.18.1-1.fc7 has been submitted as an update for Fedora 7

Comment 5 Fedora Update System 2008-03-21 22:02:48 UTC
asterisk-1.4.18.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-03-21 22:14:13 UTC
asterisk-1.4.18.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Red Hat Product Security 2008-03-31 09:43:51 UTC
This issue was addressed in:

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2008-2620
  https://admin.fedoraproject.org/updates/F8/FEDORA-2008-2554