{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-1010260","id":"CVE-2019-1010260","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.","descriptionLong":"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.","published":"2019-04-02T14:03:49.000Z","updated":"2026-10-20T10:47:48.439777368Z","reserved":"2019-03-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"dwf","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"high","products":["ktlint"],"affectedProducts":[{"vendor":"ktlint","product":"ktlint","defaultStatus":null,"versions":[{"status":"affected","version":"0.29.0 and earlier [fixed: 0.30.0 and later - after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261]"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.github.shyiko.ktlint:ktlint-core","purl":"pkg:maven/com.github.shyiko.ktlint/ktlint-core","ranges":["<0.30.0"],"fixed":["0.30.0"],"advisory":"GHSA-r8h9-hq9c-2p5c"}],"cwes":["CWE-319"],"aliases":["GHSA-r8h9-hq9c-2p5c"],"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01482,"epssPercentile":0.74466,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-1010260","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1010260","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-1010260","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r8h9-hq9c-2p5c","ok":true,"note":"GHSA-r8h9-hq9c-2p5c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-1010260","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}