PT-2023-7750 · Sangoma+2 · Asterisk+3
Mbradeen
·
Published
2023-07-06
·
Updated
2025-02-13
·
CVE-2023-37457
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Asterisk versions 18.20.0 and prior
Asterisk versions 20.5.0 and prior
Asterisk version 21.0.0
certified-asterisk versions 18.9-cert5 and prior
Description
The issue is related to the
PJSIP HEADER dialplan function in Asterisk, where the 'update' functionality can exceed the available buffer space for storing the new value of a header, potentially overwriting memory or causing a crash. This is not externally exploitable unless the dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used, the issue does not occur.Recommendations
For Asterisk versions 18.20.0 and prior, update to a version that includes the patch available at commit a1ca0268254374b515fa5992f01340f7717113fa.
For Asterisk versions 20.5.0 and prior, update to a version that includes the patch available at commit a1ca0268254374b515fa5992f01340f7717113fa.
For Asterisk version 21.0.0, update to a version that includes the patch available at commit a1ca0268254374b515fa5992f01340f7717113fa.
For certified-asterisk versions 18.9-cert5 and prior, update to a version that includes the patch available at commit a1ca0268254374b515fa5992f01340f7717113fa.
As a temporary workaround, consider disabling the
PJSIP HEADER function's 'update' functionality until a patch is available.Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Asterisk
Red Os
Certified Asterisk