{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.30.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "43a83d04a184b4e04a205d1b224ee9929db1ab74"
            }
          ],
          "repo": "https://github.com/pinterest/ktlint",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be compromised by a MITM. This attack is exploitable via Man in the Middle of the HTTP connection to the artifact servers. This vulnerability appears to have been fixed in 0.30.0 and later; after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261.",
  "id": "CVE-2019-1010260",
  "modified": "2026-03-13T21:46:50.433958256Z",
  "published": "2019-04-02T15:29:00.480Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/shyiko/ktlint/pull/332"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}