Description
A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. 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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://downloads.asterisk.org/pub/security/AST-2018-004.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/bid/103151Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040416Third Party Advisory, VDB Entry
- https://www.debian.org/security/2018/dsa-4320Third Party Advisory
- https://www.exploit-db.com/exploits/44184/Exploit, Third Party Advisory, VDB Entry
- http://downloads.asterisk.org/pub/security/AST-2018-004.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/bid/103151Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040416Third Party Advisory, VDB Entry
- https://www.debian.org/security/2018/dsa-4320Third Party Advisory
- https://www.exploit-db.com/exploits/44184/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Feb 22, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified