{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5c2e1205905a556b2a4276a6be369559ceb54a6d"
            }
          ],
          "repo": "https://github.com/zenspider/ruby_parser-legacy",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.",
  "id": "CVE-2019-18409",
  "modified": "2026-03-13T21:56:24.024213848Z",
  "published": "2019-10-24T14:15:11.583Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/zenspider/ruby_parser-legacy/issues/1"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}