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.
CVSS Details
- CVSS 3.1 Base Score: 6.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade pjproject | Aug 22, 2024 | Mar 10, 2021 |
| Debian | — | Upgrade ring | Jul 30, 2024 | Mar 10, 2021 |
| Gentoo Linux | — | Upgrade net-libs/pjproject. | Jul 21, 2021 | Mar 10, 2021 |
| Ubuntu | — | Upgrade libpjmedia2 (Ubuntu Pro)Upgrade libpjsua2 (Ubuntu Pro)Upgrade python-pjproject (Ubuntu Pro)Upgrade libpjsip2 (Ubuntu Pro)Upgrade libpjnath2 (Ubuntu Pro)Upgrade libpj2 (Ubuntu Pro) | Mar 27, 2026 | Mar 24, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub