CVE-2020-15260Existing TLS connections can be reused without checking remote hostname
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | pjproject | Fix pending | 2.7.2~dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-15260 |
| Ubuntu 16.04 | pjproject | Fix pending | 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-15260 |
| Ubuntu 14.04 | pjproject | Fix pending | ||
| Debian 12 | ring | Fixed | 20210112.2.b757bac~ds1-1 | DEBIAN-CVE-2020-15260 |
| Alpine Linux 3.24 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.23 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.22 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.21 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.20 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.19 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.18 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.17 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.16 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.15 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
| Alpine Linux 3.14 | pjproject | Fixed | 2.11-r0 | ALPINE-CVE-2020-15260 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pjsip pjproject: affected: <= 2.10
Vendor advisories:
- https://security.gentoo.org/glsa/202107-42 (vendor-advisory)
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-8hcp-hm38-mfph
- https://github.com/pjsip/pjproject/commit/67e46c1ac45ad784db5b9080f5ed8b133c122872
- https://github.com/pjsip/pjproject/pull/2663
- https://security.gentoo.org/glsa/202107-42
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.