{"id":"UBUNTU-CVE-2022-31002","details":"Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause a crash. This type of crash may be caused by a URL ending with `%`. Version 1.13.8 contains a patch for this issue.","modified":"2026-04-22T13:22:32.669491Z","published":"2022-05-31T19:15:00Z","related":["USN-5932-1"],"upstream":["CVE-2022-31002"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31002"},{"type":"REPORT","url":"https://github.com/freeswitch/sofia-sip/commit/51841eb53679434a386fb2dcbca925dcc48d58ba"},{"type":"REPORT","url":"https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-g3x6-p824-x6hm"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5932-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-31002"}],"affected":[{"package":{"name":"sofia-sip","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1"}]}],"versions":["1.12.11+20110422.1-2ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libsofia-sip-ua-glib3","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1"},{"binary_name":"libsofia-sip-ua0","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1"},{"binary_name":"sofia-sip-bin","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31002.json"}},{"package":{"name":"sofia-sip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3build0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.11+20110422.1-2.1+deb10u3build0.18.04.1"}]}],"versions":["1.12.11+20110422.1-2.1","1.12.11+20110422.1-2.1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libsofia-sip-ua-glib3","binary_version":"1.12.11+20110422.1-2.1+deb10u3build0.18.04.1"},{"binary_name":"libsofia-sip-ua0","binary_version":"1.12.11+20110422.1-2.1+deb10u3build0.18.04.1"},{"binary_name":"sofia-sip-bin","binary_version":"1.12.11+20110422.1-2.1+deb10u3build0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31002.json"}},{"package":{"name":"sofia-sip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1"}]}],"versions":["1.12.11+20110422.1-2.1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libsofia-sip-ua-glib3","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1"},{"binary_name":"libsofia-sip-ua0","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1"},{"binary_name":"sofia-sip-bin","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31002.json"}},{"package":{"name":"sofia-sip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1"}]}],"versions":["1.12.11+20110422.1-2.1ubuntu1","1.12.11+20110422.1-2.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1","binary_name":"libsofia-sip-ua-glib3"},{"binary_name":"libsofia-sip-ua0","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1"},{"binary_name":"sofia-sip-bin","binary_version":"1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31002.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}