{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:f5:njs:0.7.2:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.7.2"
              },
              {
                "last_affected": "0.7.2"
              }
            ],
            "source": [
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "50bb20a814c3c82b662c999630ce91ff068e3e48"
            },
            {
              "fixed": "81af26364c21c196dd21fb5e14c7fa9ce7debd17"
            }
          ],
          "repo": "https://github.com/nginx/njs",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.7.2"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31306.json"
  },
  "details": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_convert_to_slow_array at src/njs_array.c.",
  "id": "CVE-2022-31306",
  "modified": "2026-07-15T01:48:51.886152123Z",
  "published": "2022-06-21T12:57:30Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31306.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31306"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nginx/njs/issues/481"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17"
    }
  ],
  "schema_version": "1.8.0"
}