Skip to content
OpenAdvisories
High · 7.5 CVE-2023-37457 EUVD-2023-41357

Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'

Published Dec 14, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.

Affected products

VendorProductAffectedFixed
asterisk asterisk <= 18.20.0, >= 19.0.0, <= 20.5.0, = 21.0.0, <= 18.9-cert5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 asterisk 1:20.8.1~dfsg+~cs6.14.40431414-1 —
Debian 11 asterisk 1:16.28.0~dfsg-0+deb11u4 DSA-5596-1
Debian 10 asterisk 1:16.28.0~dfsg-0+deb10u4 DLA-3696-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 asterisk No fix yet —
Ubuntu 26.04 LTS asterisk No fix yet —
Ubuntu 25.10 asterisk No fix yet —
Ubuntu 24.04 LTS asterisk No fix yet —
Ubuntu 22.04 LTS asterisk No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS asterisk No fix yet —
Ubuntu 18.04 LTS asterisk No fix yet —
Ubuntu Pro 16.04 LTS asterisk No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 asterisk 20.5.1-r0 —
Alpine v3.23 asterisk 20.5.1-r0 —
Alpine v3.22 asterisk 20.5.1-r0 —
Alpine v3.21 asterisk 20.5.1-r0 —
Alpine v3.20 asterisk 20.5.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 asterisk 20.5.1-r0 —
Alpine v3.18 asterisk 18.20.2-r0 —
Alpine v3.17 asterisk 18.20.2-r0 —
Alpine v3.16 asterisk 18.20.2-r0 —

Advisories 3

References