{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-28099",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-10T18:34:29.226Z",
        "datePublished": "2023-03-15T22:16:57.958Z",
        "dateUpdated": "2024-08-02T12:30:24.135Z"
    },
    "containers": {
        "cna": {
            "title": "OpenSIPS has vulnerability in the ds_is_in_list() function",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "lang": "en",
                            "description": "CWE-20: Improper Input Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3"
                },
                {
                    "name": "https://github.com/OpenSIPS/opensips/issues/2780",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenSIPS/opensips/issues/2780"
                },
                {
                    "name": "https://github.com/OpenSIPS/opensips/commit/e2f13d374",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenSIPS/opensips/commit/e2f13d374"
                }
            ],
            "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:16:57.958Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, if `ds_is_in_list()` is used with an invalid IP address string (`NULL` is illegal input), OpenSIPS will attempt to print a string from a random address (stack garbage), which could lead to a crash.  All users of `ds_is_in_list()` without the `$si` variable as 1st parameter could be affected by this vulnerability to a larger, lesser or no extent at all, depending if the data passed to the function is a valid IPv4 or IPv6 address string or not. Fixes will are available starting with the 3.1.9 and 3.2.6 minor releases. There are no known workarounds."
                }
            ],
            "source": {
                "advisory": "GHSA-pfm5-6vhv-3ff3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:30:24.135Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3"
                    },
                    {
                        "name": "https://github.com/OpenSIPS/opensips/issues/2780",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenSIPS/opensips/issues/2780"
                    },
                    {
                        "name": "https://github.com/OpenSIPS/opensips/commit/e2f13d374",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenSIPS/opensips/commit/e2f13d374"
                    }
                ]
            }
        ]
    }
}