Asterisk potential code execution in chan_sip T.140 RED handling
asterisk · asterisk certified-asterisk
asterisk · asterisk certified-asterisk
| Product | Affected | Fixed in |
|---|---|---|
| asterisk asterisk |
| No fix yet |
| asterisk certified-asterisk |
| No fix yet |
Asterisk is an open source private branch exchange and telephony toolkit. In affected deployments, an authenticated attacker may cause a `T.140 RED` heap buffer overflow using carefully crafted packets, potentially allowing remote code execution or causing Asterisk to crash. The `chan_sip` channel driver must be installed and configured, and its `textsupport` option must be enabled; `textsupport` defaults to no. `The chan_sip driver was deprecated in Asterisk 20 and completely removed in all later versions.` Repository comparisons verify patch containment in Asterisk 20.20.1, 21.12.3, 22.10.1 and 23.4.1, and Certified Asterisk 20.7-cert11 and 22.8-cert3. The affected release-track scope remains unresolved: structured metadata includes later release tracks even though the advisory says the required `chan_sip` driver was removed there.
From the CVE record · GitHub_M
Asterisk's T.140 RED handling has a heap buffer overflow. An authenticated remote attacker can send crafted packets that may crash Asterisk or allow remote code execution, but only when chan_sip is installed and configured with textsupport enabled. The affected release-track scope is unresolved because the advisory says chan_sip was removed after Asterisk 20, while structured metadata includes later tracks.
Operators of Asterisk or Certified Asterisk with chan_sip installed and textsupport enabled should check their deployments; the affected versions are not fully resolved.