{
    "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"
    }
}