Name | CVE-2018-7284 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4320-1 |
Debian Bugs | 891227 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
asterisk (PTS) | bullseye | 1:16.28.0~dfsg-0+deb11u4 | fixed |
bullseye (security) | 1:16.28.0~dfsg-0+deb11u5 | fixed | |
sid | 1:22.0.0~dfsg+~cs6.14.60671435-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
asterisk | source | wheezy | (not affected) | |||
asterisk | source | jessie | (not affected) | |||
asterisk | source | stretch | 1:13.14.1~dfsg-2+deb9u4 | DSA-4320-1 | ||
asterisk | source | (unstable) | 1:13.20.0~dfsg-1 | 891227 |
[jessie] - asterisk <not-affected> (Vulnerable code not present)
[wheezy] - asterisk <not-affected> (Vulnerable code not present)
http://downloads.asterisk.org/pub/security/AST-2018-004.html
https://issues.asterisk.org/jira/browse/ASTERISK-27640
http://downloads.asterisk.org/pub/security/AST-2018-004-13.diff