8.2
HIGH
CVE-2023-37457
Asterisk PJSIP_HEADER Buffer Overflow Vulnerability
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.

INFO

Published Date :

Dec. 14, 2023, 8:15 p.m.

Last Modified :

Dec. 29, 2023, 12:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.2

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-37457 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-37457 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Digium asterisk
1 Asterisk asterisk
1 Sangoma certified_asterisk
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-37457.

URL Resource
https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa Patch
https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C JavaScript C++ HTML

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 7, 2024, 3:37 p.m. This repo has been linked 85 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-37457 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-37457 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 29, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html [No types assigned]
  • Initial Analysis by [email protected]

    Dec. 20, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
    Changed Reference Type https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa No Types Assigned https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa Patch
    Changed Reference Type https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh No Types Assigned https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh Vendor Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* versions up to (including) 18.20.0 *cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* versions from (including) 19.0.0 up to (including) 20.5.0 *cpe:2.3:a:digium:asterisk:21.0.0:*:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:*:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert1-rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert1-rc2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert1-rc3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert1-rc4:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:13.13.0:rc2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:-:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert10:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert11:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert12:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert4:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert5:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert6:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert7:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert8:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:16.8.0:cert9:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:*
  • CVE Received by [email protected]

    Dec. 14, 2023

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh [No types assigned]
    Added Reference GitHub, Inc. https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa [No types assigned]
    Added CWE GitHub, Inc. CWE-120
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-37457 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} 0.05%

score

0.55073

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability