cve.bz

CVE-2024-42491 sangoma: Unchecked Return Value

5.7 mediumEPSS 0.6%Fix available

Medium (5.7) in sangoma. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-252 Unchecked Return Value
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42491 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42491?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42491?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42491 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sangoma:asteriskbefore 18.24.3
sangoma:asteriskfrom 20.0.0 before 20.9.3
sangoma:asteriskfrom 21.0.0 through 21.4.3
sangoma:certified_asteriskbefore 18.9
sangoma:certified_asterisk18.9
sangoma:certified_asterisk18.9:cert1
sangoma:certified_asterisk18.9:cert1-rc1
sangoma:certified_asterisk18.9:cert10
sangoma:certified_asterisk18.9:cert11
sangoma:certified_asterisk18.9:cert2
sangoma:certified_asterisk18.9:cert3
sangoma:certified_asterisk18.9:cert4
sangoma:certified_asterisk18.9:cert5
sangoma:certified_asterisk18.9:cert6
sangoma:certified_asterisk18.9:cert7
sangoma:certified_asterisk18.9:cert8
sangoma:certified_asterisk18.9:cert8-rc1
sangoma:certified_asterisk18.9:cert8-rc2
sangoma:certified_asterisk18.9:cert9
sangoma:certified_asterisk20.7:cert1
sangoma:certified_asterisk20.7:cert1-rc1
sangoma:certified_asterisk20.7:cert1-rc2
sangoma:certified_asterisk20.7:cert2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11asterisk1:16.28.0~dfsg-0+deb11u5DLA-3925-1
Debian14asterisk1:20.9.3~dfsg+~cs6.14.60671435-1DEBIAN-CVE-2024-42491
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2024-42491
Alpinev3.17, v3.18asterisk18.24.3-r0ALPINE-CVE-2024-42491
Alpinev3.19, v3.20, v3.21 and 3 moreasterisk20.9.3-r0ALPINE-CVE-2024-42491

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

References

Check your stackJSON