From ${URL} : When Asterisk registers to a SIP TLS device and and verifies the server, Asterisk will accept signed certificates that match a common name other than the one Asterisk is expecting if the signed certificate has a common name containing a null byte after the portion of the common name that Asterisk expected. For example, if Asterisk is trying to register to www.domain.com, Asterisk will accept certificates of the form www.domain.com\x00www.someotherdomain.com – for more information on this exploit, see https://fotisl.com/blog/2009/10/the-null-certificate-prefix-bug/ fixed in: 1.8.32.3, 11.17.1, 12.8.2 13.3.2 @maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
CVE-2015-3008 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-3008): Asterisk Open Source 1.8 before 1.8.32.3, 11.x before 11.17.1, 12.x before 12.8.2, and 13.x before 13.3.2 and Certified Asterisk 1.8.28 before 1.8.28-cert5, 11.6 before 11.6-cert11, and 13.1 before 13.1-cert2, when registering a SIP TLS device, does not properly handle a null byte in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
+*asterisk-13.3.2 (13 Apr 2015) +*asterisk-12.8.2 (13 Apr 2015) +*asterisk-11.17.1 (13 Apr 2015) + + 13 Apr 2015; Tony Vroon <chainsaw@gentoo.org> -asterisk-11.16.0.ebuild, + +asterisk-11.17.1.ebuild, -asterisk-12.8.1.ebuild, +asterisk-12.8.2.ebuild, + -asterisk-13.1.1.ebuild, -asterisk-13.2.0.ebuild, +asterisk-13.3.2.ebuild: + Upgrades on branches 11, 12 & 13 to address a null-byte exploit in TLS + certificate CN field verification (CVE-2015-3008 / AST-2015-003). Removed all + vulnerable non-stable ebuilds. For security bug #546040 by Agostino "ago" + Sarubbo. Arches, please test & mark stable: =net-misc/asterisk-11.17.1 Test plan: emerge asterisk with USE="samples" start & stop the daemon three times in sequence
amd64 stable
x86 stable. Maintainer(s), please cleanup. Security, please vote.
GLSA vote: no.
GLSA Vote: No Maintainer(s), please drop the vulnerable version(s).
+ 28 Apr 2015; Tony Vroon <chainsaw@gentoo.org> -asterisk-11.15.0-r1.ebuild: + Remove vulnerable ebuild, for security bug #546040. Maintainer work done, CC removed.