Bug 1548130 (CVE-2018-7284) - CVE-2018-7284 asterisk: memory corruption in SUBSCRIBE message with a large Accept value
Summary: CVE-2018-7284 asterisk: memory corruption in SUBSCRIBE message with a large A...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-7284
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1548131 1548132
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-22 19:53 UTC by Laura Pardo
Modified: 2019-09-29 14:33 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:40:58 UTC
Embargoed:


Attachments (Terms of Use)

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.


Resources:
http://downloads.asterisk.org/pub/security/AST-2018-004.html
https://issues.asterisk.org/jira/browse/ASTERISK-27640

Patch:
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.


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