{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-28097",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-10T18:34:29.225Z",
        "datePublished": "2023-03-15T22:03:41.362Z",
        "dateUpdated": "2024-08-02T12:30:24.168Z"
    },
    "containers": {
        "cna": {
            "title": "OpenSIPS has vulnerability in the Content-Length Parser",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-190",
                            "lang": "en",
                            "description": "CWE-190: Integer Overflow or Wraparound",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq"
                },
                {
                    "name": "https://github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5"
                },
                {
                    "name": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"
                }
            ],
            "affected": [
                {
                    "vendor": "OpenSIPS",
                    "product": "opensips",
                    "versions": [
                        {
                            "version": "< 3.1.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.2.0, < 3.2.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-15T22:03:41.362Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, a malformed SIP message containing a large _Content-Length_ value and a specially crafted Request-URI causes a segmentation fault in OpenSIPS. This issue occurs when a large amount of shared memory using the `-m` flag was allocated to OpenSIPS, such as 10 GB of RAM. On the test system, this issue occurred when shared memory was set to `2362` or higher. This issue is fixed in versions 3.1.9 and 3.2.6. The only workaround is to guarantee that the Content-Length value of input messages is never larger than `2147483647`."
                }
            ],
            "source": {
                "advisory": "GHSA-c6j5-f4h4-2xrq",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:30:24.168Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq"
                    },
                    {
                        "name": "https://github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5"
                    },
                    {
                        "name": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"
                    }
                ]
            }
        ]
    }
}