Bug 1548130 (CVE-2018-7284)

Summary: CVE-2018-7284 asterisk: memory corruption in SUBSCRIBE message with a large Accept value
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bennie.joubert, itamar, jsmith.fedora, rbryant
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: asterisk 13.19.2, asterix 14.7.6, asterix 15.2.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:40:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1548131, 1548132    
Bug Blocks:    

Description Laura Pardo 2018-02-22 19:53:13 UTC
A flaw was discovered in Asterisk 13.x, 14.x, 15.x and 13.18. When processing a SUBSCRIBE request the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed despite having a fixed limit of 32. If more than 32 Accept headers were present the code would write outside of its memory and cause a crash.


http://downloads.asterisk.org/pub/security/AST-2018-004-13.diff [Asterisk 13]
http://downloads.asterisk.org/pub/security/AST-2018-004-14.diff [Asterisk 14]
http://downloads.asterisk.org/pub/security/AST-2018-004-15.diff [Asterisk 15]
http://downloads.asterisk.org/pub/security/AST-2018-004-13.18.diff [Certified Asterisk 13.18]

Comment 1 Laura Pardo 2018-02-22 19:53:40 UTC
Created asterisk tracking bugs for this issue:

Affects: epel-6 [bug 1548131]
Affects: fedora-all [bug 1548132]

Comment 2 Product Security DevOps Team 2019-06-08 03:40:58 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.