CVE-2023-37457CWE-120

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

High · published December 14, 2023

CVSS v3.1
7.5
EPSS
1%
Percentile
65.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01116 · 65.8th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2023-12-14T19:43Z
EPSS history
Timeline
  • 14 DEC 19:43Z
    Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'
    cvelistv5