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

Published Dec 14, 2023
·
Updated

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 PJSIPHEADER 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 Software

31 affected components
Digium Asterisk<=18.20.0
Digium Asterisk>=19.0.0<=20.5.0
Digium Asterisk=21.0.0
Sangoma Certified Asterisk=13.13.0
Sangoma Certified Asterisk=13.13.0-cert1
Sangoma Certified Asterisk=13.13.0-cert1-rc1
Sangoma Certified Asterisk=13.13.0-cert1-rc2
Sangoma Certified Asterisk=13.13.0-cert1-rc3
Sangoma Certified Asterisk=13.13.0-cert1-rc4
Sangoma Certified Asterisk=13.13.0-cert2
Sangoma Certified Asterisk=13.13.0-cert3
Sangoma Certified Asterisk=13.13.0-rc1
Sangoma Certified Asterisk=13.13.0-rc2
Sangoma Certified Asterisk=16.8.0
Sangoma Certified Asterisk=16.8.0-cert1
Sangoma Certified Asterisk=16.8.0-cert10
Sangoma Certified Asterisk=16.8.0-cert11
Sangoma Certified Asterisk=16.8.0-cert12
Sangoma Certified Asterisk=16.8.0-cert2
Sangoma Certified Asterisk=16.8.0-cert3
Sangoma Certified Asterisk=16.8.0-cert4
Sangoma Certified Asterisk=16.8.0-cert5
Sangoma Certified Asterisk=16.8.0-cert6
Sangoma Certified Asterisk=16.8.0-cert7
Sangoma Certified Asterisk=16.8.0-cert8
Sangoma Certified Asterisk=16.8.0-cert9
Sangoma Certified Asterisk=18.9-cert1
Sangoma Certified Asterisk=18.9-cert2
Sangoma Certified Asterisk=18.9-cert3
Sangoma Certified Asterisk=18.9-cert4
Sangoma Certified Asterisk=18.9-cert5

Event History

Dec 14, 2023
CVE Published
07:43 PM
Data Sourced
07:43 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-37457?

CVE-2023-37457 is considered a moderate severity vulnerability due to the potential for excessive resource consumption.

2

How do I fix CVE-2023-37457?

To fix CVE-2023-37457, upgrade to Asterisk versions 18.21.0, 20.5.1, 21.0.1, or certified-asterisk 18.9-cert6 or later.

3

What versions of Asterisk are affected by CVE-2023-37457?

Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0 are affected by CVE-2023-37457.

4

What does CVE-2023-37457 exploit in Asterisk?

CVE-2023-37457 exploits the 'update' functionality of the PJSIP_HEADER dialplan function, leading to potential resource exhaustion.

5

Is there a workaround for CVE-2023-37457 if I cannot upgrade?

There are no specific workarounds provided for CVE-2023-37457; upgrading to a fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203