{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.7.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "37dc1e788060ba17cdcd6e3fd2695177c9d7aa38"
            },
            {
              "fixed": "404553896792b8f5f429dc8852d15784a59d8d3e"
            }
          ],
          "repo": "https://github.com/nginx/njs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Nginx NJS v0.7.5. The JUMP offset for a break instruction was not set to a correct offset during code generation, leading to a segmentation violation.",
  "id": "CVE-2022-35173",
  "modified": "2026-03-15T13:47:04.764380819Z",
  "published": "2022-08-18T06:15:07.280Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/nginx/njs/issues/553"
    },
    {
      "type": "FIX",
      "url": "http://hg.nginx.org/njs/rev/b7c4e0f714a9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nginx/njs/commit/404553896792b8f5f429dc8852d15784a59d8d3e"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}