Skip to content

CVE-2020-15260 Existing TLS connections can be reused without checking remote hostname

MediumCVSS 6.8 EPSS 0.99%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In version 2.10 and earlier, PJSIP transport can be reused if they have the same IP address + port + protocol. However, this is insufficient for secure transport since it lacks remote hostname authentication. Suppose we have created a TLS connection to sip.foo.com, which has an IP address 100.1.1.1. If we want to create a TLS connection to another hostname, say sip.bar.com, which has the same IP address, then it will reuse that existing connection, even though 100.1.1.1 does not have certificate to authenticate as sip.bar.com. The vulnerability allows for an insecure interaction without user awareness. It affects users who need access to connections to different destinations that translate to the same address, and allows man-in-the-middle attack if attacker can route a connection to another destination such as in the case of DNS spoofing.

Upgrade path

16 packages: 15 fixed.

PackageAffectedFixed inStatus
alpine/pjproject(Alpine v3.14) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.15) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.16) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.17) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.18) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.19) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.20) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.21) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.22) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.23) < 2.11-r0 2.11-r0 Fixed
alpine/pjproject(Alpine v3.24) < 2.11-r0 2.11-r0 Fixed
debian/ring(Debian 12) < 20210112.2.b757bac~ds1-1 20210112.2.b757bac~ds1-1 Fixed
teluu pjsip <= 2.10 after 2.10 Fixed
ubuntu/pjproject(Ubuntu Pro 16.04) < 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1; = 2.1.0.0.ast20130823-1; = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 Fixed
ubuntu/pjproject(Ubuntu Pro 18.04) < 2.7.2~dfsg-1ubuntu0.1~esm1; = 2.6~dfsg-2; = 2.7.1~dfsg-1; = 2.7.1~dfsg-1build1 +2 more 2.7.2~dfsg-1ubuntu0.1~esm1 Fixed
pjsip pjproject = <= 2.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ring(Debian:12) < 20210112.2.b757bac~ds1-1 20210112.2.b757bac~ds1-1
teluu pjsip <= 2.10 No fix listed
alpine/pjproject(Alpine:v3.14) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.15) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.16) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.17) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.18) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.19) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.20) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.21) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.22) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.23) < 2.11-r0 2.11-r0
alpine/pjproject(Alpine:v3.24) < 2.11-r0 2.11-r0
pjsip pjproject = <= 2.10 No fix listed
ubuntu/pjproject(Ubuntu:Pro:16.04) < 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1
ubuntu/pjproject(Ubuntu:Pro:16.04) = 2.1.0.0.ast20130823-1 No fix listed
ubuntu/pjproject(Ubuntu:Pro:16.04) = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1 No fix listed
ubuntu/pjproject(Ubuntu:Pro:18.04) < 2.7.2~dfsg-1ubuntu0.1~esm1 2.7.2~dfsg-1ubuntu0.1~esm1
ubuntu/pjproject(Ubuntu:Pro:18.04) = 2.6~dfsg-2 No fix listed
ubuntu/pjproject(Ubuntu:Pro:18.04) = 2.7~dfsg-1 No fix listed
ubuntu/pjproject(Ubuntu:Pro:18.04) = 2.7.1~dfsg-1 No fix listed
ubuntu/pjproject(Ubuntu:Pro:18.04) = 2.7.1~dfsg-1build1 No fix listed
ubuntu/pjproject(Ubuntu:Pro:18.04) = 2.7.2~dfsg-1 No fix listed

References