CVE-2018-7284

NameCVE-2018-7284
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4320-1
NVD severitymedium
Debian Bugs891227

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
asterisk (PTS)jessie1:11.13.1~dfsg-2+deb8u5fixed
jessie (security)1:11.13.1~dfsg-2+deb8u8fixed
stretch, stretch (security)1:13.14.1~dfsg-2+deb9u4fixed
buster1:16.2.1~dfsg-1+deb10u1fixed
bullseye, sid1:16.2.1~dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
asterisksource(unstable)1:13.20.0~dfsg-1891227
asterisksourcejessie(not affected)
asterisksourcestretch1:13.14.1~dfsg-2+deb9u4DSA-4320-1
asterisksourcewheezy(not affected)

Notes

[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

Search for package or bug name: Reporting problems