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.
Upstream:released (1:13.14.1~dfsg-2+deb9u4)
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):DNE (trusty was needs-triage)
Ubuntu 16.04 LTS (Xenial Xerus):needed
Ubuntu 18.04 LTS (Bionic Beaver):needed
Ubuntu 19.10 (Eoan Ermine):not-affected (1:16.2.1~dfsg-1)
Ubuntu 20.04 (Focal Fossa):not-affected (1:16.2.1~dfsg-1)
More Information

Updated: 2020-04-24 03:51:16 UTC (commit d3f8a6ed481830fb100109a132bef581fc4176fe)