The Asterisk Development Team has announced security releases for
Certified Asterisk 13.13 and Asterisk 13, 14 and 15. The available
security releases are released as versions 13.13-cert7, 13.18.1,
14.7.1 and 15.1.1.

The release of these versions resolves the following security
vulnerabilities:

AST-2017-009: Buffer overflow in pjproject header parsing can
cause a crash in Asterisk
By carefully crafting invalid values in the Cseq and the Via
header port, pjproject’s packet parsing code can create strings
larger than the buffer allocated to hold them. This will usually
cause Asterisk to crash immediately. The packets do not have to
be authenticated.

AST-2017-010: Buffer overflow in CDR’s set user
No size checking is done when setting the user field for Party B
on a CDR. Thus, it is possible for someone to use an arbitrarily
large string and write past the end of the user field storage
buffer. The earlier AST-2017-001 advisory for the CDR user field
overflow was for the Party A buffer.

AST-2017-011: Memory leak in pjsip session resource
A memory leak occurs when an Asterisk pjsip session object is
created and that call gets rejected before the session itself is
fully established. When this happens the session object never
gets destroyed.