{"api_version":"1","generated_at":"2026-04-23T09:53:04+00:00","cve":"CVE-2021-32686","urls":{"html":"https://cve.report/CVE-2021-32686","api":"https://cve.report/api/cve/CVE-2021-32686.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32686","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32686"},"summary":{"title":"CVE-2021-32686","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 PJSIP before version 2.11.1, there are a couple of issues found in the SSL socket. First, a race condition between callback and destroy, due to the accepted socket having no group lock. Second, the SSL socket parent/listener may get destroyed during handshake. Both issues were reported to happen intermittently in heavy load TLS connections. They cause a crash, resulting in a denial of service. These are fixed in version 2.11.1.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-07-23 22:15:00","updated_at":"2022-11-16 19:02:00"},"problem_types":["CWE-362"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","name":"[debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2962-1] pjproject security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pjsip/pjproject/pull/2716","name":"https://github.com/pjsip/pjproject/pull/2716","refsource":"MISC","tags":[],"title":"Race condition in SSL socket server by nanangizz · Pull Request #2716 · pjsip/pjproject · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd","name":"https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-cv8x-p47p-99wr · pjsip/pjproject@d5f95aa · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202210-37","name":"GLSA-202210-37","refsource":"GENTOO","tags":[],"title":"PJSIP: Multiple Vulnerabilities (GLSA 202210-37) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4999","name":"DSA-4999","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4999-1 asterisk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pjsip/pjproject/releases/tag/2.11.1","name":"https://github.com/pjsip/pjproject/releases/tag/2.11.1","refsource":"MISC","tags":[],"title":"Release PJSIP version 2.11.1 · pjsip/pjproject · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr","name":"https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr","refsource":"CONFIRM","tags":[],"title":"Race condition in SSL socket server · Advisory · pjsip/pjproject · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32686","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32686","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"teluu","cpe5":"pjsip","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-32686","qid":"178861","title":"Debian Security Update for asterisk (DSA 4999-1)"},{"cve":"CVE-2021-32686","qid":"179161","title":"Debian Security Update for pjproject (DLA 2962-1)"},{"cve":"CVE-2021-32686","qid":"181231","title":"Debian Security Update for asterisk (CVE-2021-32686)"},{"cve":"CVE-2021-32686","qid":"501763","title":"Alpine Linux Security Update for pjproject"},{"cve":"CVE-2021-32686","qid":"504291","title":"Alpine Linux Security Update for pjproject"},{"cve":"CVE-2021-32686","qid":"690079","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for pjsip (92ad12b8-ec09-11eb-aef1-0897988a1c07)"},{"cve":"CVE-2021-32686","qid":"690081","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for asterisk (53fbffe6-ebf7-11eb-aef1-0897988a1c07)"},{"cve":"CVE-2021-32686","qid":"710674","title":"Gentoo Linux PJSIP Multiple Vulnerabilities (GLSA 202210-37)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32686","STATE":"PUBLIC","TITLE":"Denial of Service in PJSIP"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"pjproject","version":{"version_data":[{"version_value":"< 2.11.1"}]}}]},"vendor_name":"pjsip"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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 PJSIP before version 2.11.1, there are a couple of issues found in the SSL socket. First, a race condition between callback and destroy, due to the accepted socket having no group lock. Second, the SSL socket parent/listener may get destroyed during handshake. Both issues were reported to happen intermittently in heavy load TLS connections. They cause a crash, resulting in a denial of service. These are fixed in version 2.11.1."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}]},"references":{"reference_data":[{"name":"https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr","refsource":"CONFIRM","url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr"},{"name":"https://github.com/pjsip/pjproject/pull/2716","refsource":"MISC","url":"https://github.com/pjsip/pjproject/pull/2716"},{"name":"https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd","refsource":"MISC","url":"https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd"},{"name":"https://github.com/pjsip/pjproject/releases/tag/2.11.1","refsource":"MISC","url":"https://github.com/pjsip/pjproject/releases/tag/2.11.1"},{"refsource":"DEBIAN","name":"DSA-4999","url":"https://www.debian.org/security/2021/dsa-4999"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html"},{"refsource":"GENTOO","name":"GLSA-202210-37","url":"https://security.gentoo.org/glsa/202210-37"}]},"source":{"advisory":"GHSA-cv8x-p47p-99wr","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-07-23 22:15:00","lastModifiedDate":"2022-11-16 19:02:00","problem_types":["CWE-362"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*","versionEndExcluding":"2.11.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32686","Ordinal":"208074","Title":"CVE-2021-32686","CVE":"CVE-2021-32686","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32686","Ordinal":"1","NoteData":"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 PJSIP before version 2.11.1, there are a couple of issues found in the SSL socket. First, a race condition between callback and destroy, due to the accepted socket having no group lock. Second, the SSL socket parent/listener may get destroyed during handshake. Both issues were reported to happen intermittently in heavy load TLS connections. They cause a crash, resulting in a denial of service. These are fixed in version 2.11.1.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"32686","Ordinal":"2","NoteData":"2021-07-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"32686","Ordinal":"3","NoteData":"2021-11-02","Type":"Other","Title":"Modified"}]}}}