{"id":"CVE-2019-1010260","published":"2019-04-02T14:03:49Z","modified":"2024-08-05T03:07:18Z","title":"Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be…","vendor":"ktlint","product":"ktlint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01482,"percentile":0.74582,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/shyiko/ktlint/pull/332","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":14.92}]},"vendorSlug":"ktlint","affectedVersions":[{"vendor":"ktlint","product":"ktlint","versions":["0.29.0 and earlier [fixed: 0.30.0 and later - after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261]"]}],"affected":[{"ecosystem":"Maven","package":"com.github.shyiko.ktlint:ktlint-core","vulnerableRanges":["<0.30.0"],"patched":["0.30.0"],"from":["GHSA-r8h9-hq9c-2p5c"],"provenance":"source"}],"summary":{"text":"The ktlint linter's custom ruleset download feature fetches and executes jars from remote artifact servers, so the flaw lies in how it retrieves those rulesets. An attacker positioned as a man in the middle of the HTTP connection to those artifact servers can serve a compromised jar and achieve arbitrary code execution, with no authentication or user interaction indicated beyond the victim's use of the feature.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:19Z"},"euvd":{"id":"EUVD-2019-0433","exploited":false,"provenance":"source"}}