Description
chan_sip.c in Asterisk Open Source 1.8.x before 1.8.8.2 and 10.x before 10.0.1, when the res_srtp module is used and media support is improperly configured, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted SDP message with a crypto attribute and a (1) video or (2) text media type, as demonstrated by CSipSimple.
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:1.8.8.2~dfsg-1 | — |
References
- http://downloads.asterisk.org/pub/security/AST-2012-001-10.diff
- https://issues.asterisk.org/jira/browse/ASTERISK-19202
- http://downloads.asterisk.org/pub/security/AST-2012-001-1.8.diff
- [oss-security] 20120120 CVE Request -- Asterisk AST-2012-001 / Remote DoS while processing crypto line for media stream with non-existing RTP mailing-list
- [oss-security] 20120120 Re: CVE Request -- Asterisk AST-2012-001 / Remote DoS while processing crypto line for media stream with non-existing RTP mailing-list
- https://issues.asterisk.org/jira/secure/attachment/42202/issueA19202_crypto_if_uninited_text_or_video.patch
- https://bugzilla.redhat.com/show_bug.cgi?id=783487
- http://downloads.asterisk.org/pub/security/AST-2012-001.html