{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "949719bf4baeb5da9787b9c4191e061fe800d9eb"
            }
          ],
          "repo": "https://github.com/opensips/opensips",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.2.0"
              },
              {
                "fixed": "3.2.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "1e94abe8837fe3511fada132d67a6385d8d099a2"
            },
            {
              "fixed": "ce8cda891ce6cc48ff7dc2e75f683e4e45798c6c"
            }
          ],
          "repo": "https://github.com/opensips/opensips",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pfm5-6vhv-3ff3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28099.json"
  },
  "details": "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.",
  "id": "CVE-2023-28099",
  "modified": "2026-04-01T23:09:39.229655338Z",
  "published": "2023-03-15T22:16:57.958Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28099.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28099"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/OpenSIPS/opensips/issues/2780"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OpenSIPS/opensips/commit/e2f13d374"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenSIPS has vulnerability in the ds_is_in_list() function"
}