{"id":"CVE-2019-1010260","aliases":["EUVD-2019-0433","GHSA-r8h9-hq9c-2p5c"],"status":"published","title":"High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core","description":"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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01482,"percentile":0.74136,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-319"],"published":"2019-04-02T14:03:49Z","modified":"2026-10-20T10:47:48Z","fixes":[{"ecosystem":"Maven","package":"com.github.shyiko.ktlint:ktlint-core","fixed_in":["0.30.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.github.shyiko.ktlint:ktlint-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.30.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.github.shyiko.ktlint:ktlint-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.30.0"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.11.0","0.11.1","0.12.0","0.12.1","0.13.0","0.14.0","0.15.0","0.15.1","0.16.0","0.16.1","0.17.0","0.17.1","0.18.0","0.19.0","0.2.0","0.2.1","0.2.2","0.20.0","0.21.0","0.22.0","0.23.0","0.23.1","0.24.0","0.25.0","0.25.1","0.26.0","0.27.0","0.28.0","0.29.0","0.3.0","0.3.1","0.4.0","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0","0.9.1","0.9.2"]}],"products":[{"vendor":"ktlint","product":"ktlint"},{"vendor":"ktlint_project","product":"ktlint"}],"references":[{"url":"https://github.com/shyiko/ktlint/pull/332","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1010260","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r8h9-hq9c-2p5c","tags":["advisory"]},{"url":"https://github.com/shyiko/ktlint","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-1010260","description":"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.","status":"published","published":"2019-04-02T14:03:49Z","modified":"2024-08-05T03:07:18.513Z","updated_at":"2026-11-02T14:20:24.989116Z"}],"euvd":[{"id":"EUVD-2019-0433","description":"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.","status":"published","published":"2019-04-02T14:03:49Z","modified":"2024-08-05T03:07:18Z","updated_at":"2026-11-03T02:40:19.294113Z"}],"ghsa":[{"id":"GHSA-r8h9-hq9c-2p5c","title":"High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core","description":"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.","status":"published","published":"2019-04-08T15:18:54Z","modified":"2023-01-09T05:03:14Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-319"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2019-1010260","description":"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.","status":"published","published":"2019-04-02T15:29:00.48Z","modified":"2026-06-17T02:09:55.373Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-319"],"updated_at":"2026-11-02T14:05:09.523883Z"}],"osv":[{"id":"CVE-2019-1010260","description":"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.","status":"published","published":"2019-04-02T15:29:00.48Z","modified":"2026-10-20T10:47:48.439777368Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:10.051046Z"},{"id":"GHSA-r8h9-hq9c-2p5c","title":"High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core","description":"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.","status":"published","published":"2019-04-08T15:18:54Z","modified":"2023-11-08T04:00:41.086327Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-319"],"updated_at":"2026-11-02T15:46:55.480549Z"}]}}
