{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.20.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "b1b6eac6b1e5b830a5cb14f8f4dc690ef3162551"
            }
          ],
          "repo": "https://github.com/cesanta/mjs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Cesanta MJS v2.20.0 was discovered to contain a stack overflow via snquote at mjs/src/mjs_json.c.",
  "id": "CVE-2021-46509",
  "modified": "2026-03-13T21:56:54.541126020Z",
  "published": "2022-01-27T21:15:09.460Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mjs/issues/200"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}