AST-2014-015: Remote Crash Vulnerability In PJSIP Channel Driver

Home » Asterisk Users » AST-2014-015: Remote Crash Vulnerability In PJSIP Channel Driver
Asterisk Users No Comments

Asterisk Project Security Advisory – AST-2014-015

Product Asterisk
Summary Remote Crash Vulnerability in PJSIP channel driver
Nature of Advisory Denial of Service
Susceptibility Remote Unauthenticated Sessions
Severity Moderate
Exploits Known No
Reported On 30 October 2014
Reported By Yaron Nahum
Posted On 20 November 2014
Last Updated On November 20, 2014
Advisory Contact Joshua Colp
CVE Name Pending

Description The chan_pjsip channel driver uses a queue approach for
actions relating to SIP sessions. There exists a race
condition where actions may be queued to answer a session
or send ringing AFTER a SIP session has been terminated
using a CANCEL request. The code will incorrectly assume
that the SIP session is still active and attempt to send
the SIP response. The PJSIP library does not expect the SIP
session to be in the disconnected state when sending the
response and asserts.

Resolution Asterisk has been patched so any queued actions that occur
after a SIP session has been disconnected will not execute.

Affected Versions
Product Release
Asterisk Open Source 12.x All versions
Asterisk Open Source 13.x All versions

Corrected In
Product Release
Asterisk Open Source 12.7.1, 13.0.1

SVN URL Revision Asterisk
12 Asterisk


Asterisk Project Security Advisories are posted at

This document may be superseded by later versions; if so, the latest
version will be posted at and

Revision History
Date Editor Revisions Made
November 20 2014 Joshua Colp Initial Revision

Asterisk Project Security Advisory – AST-2014-015
Copyright (c) 2014 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its
original, unaltered form.