CVE-2024-42491
CVE-2024-42491 is a medium-severity vulnerability in Sangoma Asterisk with a CVSS 3.x base score of 5.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-252.
Key facts
- Severity: Medium (CVSS 3.x base score 5.7)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-39644
- Weakness: CWE-252
- Affected product: Sangoma Asterisk
- Published:
- Last modified:
Description
Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.24.3, 20.9.3, and 21.4.3 of Asterisk and versions 18.9-cert12 and 20.7-cert2 of certified-asterisk, if Asterisk attempts to send a SIP request to a URI whose host portion starts with `.1` or `[.1]`, and res_resolver_unbound is loaded, Asterisk will crash with a SEGV. To receive a patch, users should upgrade to one of the following versions: 18.24.3, 20.9.3, 21.4.3, certified-18.9-cert12, certified-20.7-cert2. Two workarounds are available. Disable res_resolver_unbound by setting `noload = res_resolver_unbound.so` in modules.conf, or set `rewrite_contact = yes` on all PJSIP endpoints. NOTE: This may not be appropriate for all Asterisk configurations.
Frequently asked questions
- What is CVE-2024-42491?
- Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.24.3, 20.9.3, and 21.4.3 of Asterisk and versions 18.9-cert12 and 20.7-cert2 of certified-asterisk, if Asterisk attempts to send a SIP request to a URI whose host portion starts with `.1` or `[.1]`, and res_resolver_unbound is loaded, Asterisk will crash with a SEGV. To receive a patch, users should upgrade to one of the following versions: 18.24.3, 20.9.3, 21.4.3, certified-18.9-cert12, certified-20.7-cert2. Two workarounds are available. Disable res_resolver_unbound by setting `noload = res_resolver_unbound.so` in modules.conf, or set `rewrite_contact = yes` on all PJSIP endpoints. NOTE: This may not be appropriate for all Asterisk configurations.
- How severe is CVE-2024-42491?
- CVE-2024-42491 has a CVSS 3.x base score of 5.7, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-42491 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-42491?
- CVE-2024-42491 primarily affects Sangoma Asterisk. In total, 21 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-42491?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-42491 have an EU (EUVD) identifier?
- Yes. CVE-2024-42491 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-39644.
- When was CVE-2024-42491 published?
- CVE-2024-42491 was published on 2024-09-05 and last updated on 2026-06-17.
References
- https://github.com/asterisk/asterisk/commit/42a2f4ccfa2c7062a15063e765916b3332e34cc4
- https://github.com/asterisk/asterisk/commit/4f01669c7c41c9184f3cce9a3cf1b2ebf6201742
- https://github.com/asterisk/asterisk/commit/50bf8d4d3064930d28ecf1ce3397b14574d514d2
- https://github.com/asterisk/asterisk/commit/7a0090325bfa9d778a39ae5f7d0a98109e4651c8
- https://github.com/asterisk/asterisk/commit/a15050650abf09c10a3c135fab148220cd41d3a0
- https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9
- https://lists.debian.org/debian-lts-announce/2024/10/msg00016.html
Affected products (21)
- cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:-:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert10:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert11:*:*:*:*:*:*
- 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:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert6:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert7:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert9:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert2:*:*:*:*:*:*
More vulnerabilities in Sangoma Asterisk
- CVE-2024-57520 — Critical (CVSS 9.8): Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the…
- CVE-2022-21723 — Critical (CVSS 9.1): PJSIP is a free and open source multimedia communication library written in C language implementing standard based…
- CVE-2012-2186 — Critical (CVSS 9.0): Incomplete blacklist vulnerability in main/manager.c in Asterisk Open Source 1.8.x before 1.8.15.1 and 10.x before…
- CVE-2022-23608 — High (CVSS 8.1): PJSIP is a free and open source multimedia communication library written in C language implementing standard based…
- CVE-2025-1131 — High (CVSS 7.8): A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit…
- CVE-2025-47780 — High (CVSS 7.8): Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of…
All CVEs affecting Sangoma Asterisk →
Other CWE-252 vulnerabilities
- CVE-2025-66565 — Critical (CVSS 9.8): Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's…
- CVE-2021-38171 — Critical (CVSS 9.8): adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a…
- CVE-2021-26955 — Critical (CVSS 9.8): An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because…
- CVE-1999-0199 — Critical (CVSS 9.8): manual/search.texi in the GNU C Library (aka glibc) before 2.2 lacks a statement about the unspecified tdelete return…
- CVE-2019-15900 — Critical (CVSS 9.8): An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without…
- CVE-2010-0211 — Critical (CVSS 9.8): The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the…