CVEfocus › CVE database › CVE-2023-37457

CVE-2023-37457Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using…

CVSS 7.5 HighEPSS 1.8% (higher than 79% of CVEs)Published 2023-12-14Updated 2025-02-13Assigner: GitHub_M

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.

CWE-120

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
1Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10asteriskFix pendingUBUNTU-CVE-2023-37457
Ubuntu 26.04asteriskUnder investigationUBUNTU-CVE-2023-37457
Ubuntu 25.10asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-37457
Ubuntu 24.04asteriskUnder investigationUBUNTU-CVE-2023-37457
Ubuntu 22.04asteriskUnder investigationUBUNTU-CVE-2023-37457
Ubuntu 20.04asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-37457
Ubuntu 18.04asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-37457
Ubuntu 16.04asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-37457
Ubuntu 14.04asteriskWill not fix
Ubuntu decided not to fix this in this release
Alpine Linux 3.24asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.23asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.22asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.21asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.20asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.19asteriskFixed20.5.1-r0ALPINE-CVE-2023-37457
Alpine Linux 3.18asteriskFixed18.20.2-r0ALPINE-CVE-2023-37457
Alpine Linux 3.17asteriskFixed18.20.2-r0ALPINE-CVE-2023-37457
Alpine Linux 3.16asteriskFixed18.20.2-r0ALPINE-CVE-2023-37457

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.