Description
In Asterisk 11.x before 11.25.2, 13.x before 13.17.1, and 14.x before 14.6.1 and Certified Asterisk 11.x before 11.6-cert17 and 13.x before 13.13-cert5, unauthorized command execution is possible. The app_minivm module has an "externnotify" program configuration option that is executed by the MinivmNotify dialplan application. The application uses the caller-id name and number as part of a built string passed to the OS shell for interpretation and execution. Since the caller-id name and number can come from an untrusted source, a crafted caller-id name or number allows an arbitrary shell command injection.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | asterisk | 1:13.17.1~dfsg-1 | — |
| Debian 9 | asterisk | 1:13.14.1~dfsg-2+deb9u1 | DSA-3964-1 |
| Debian 8 | asterisk | 1:11.13.1~dfsg-2+deb8u3 | DSA-3964-1 |
| Debian 7 | asterisk | 1:1.8.13.1~dfsg1-3+deb7u7 | DLA-1122-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | asterisk | No fix yet | — |
Advisories 2
- DSA-3964-1 asterisk - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1122-1 asterisk - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://issues.asterisk.org/jira/browse/ASTERISK-27103
- 1039252 vdb-entry
- https://bugs.debian.org/873908
- GLSA-201710-29 vendor-advisory
- DSA-3964 vendor-advisory
- http://downloads.asterisk.org/pub/security/AST-2017-006.html