{"id":"CVE-2017-3160","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-3160","generatedAt":"2026-10-28T21:57:55.234Z","title":"However, since the default URI is not using https, it is vulnerable to a MiTM and the Gradle executable is not safe.","description":"After the Android platform is added to Cordova the first time, or after a project is created using the build scripts, the scripts will fetch Gradle on the first build. However, since the default URI is not using https, it is vulnerable to a MiTM and the Gradle executable is not safe. The severity of this issue is high due to the fact that the build scripts immediately start a build after Gradle has been fetched. Developers who are concerned about this issue should install version 6.1.2 or higher of Cordova-Android. If developers are unable to install the latest version, this vulnerability can easily be mitigated by setting the CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL environment variable to https://services.gradle.org/distributions/gradle-2.14.1-all.zip","published":"2018-02-01T21:29:00.000Z","lastModified":"2026-06-17T01:17:39.000Z","status":"Modified","sourceIdentifier":"security@apache.org","cvss":{"version":"3.0","score":7.4,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},"cwe":[],"affected":["apache/cordova"],"epss":{"score":0.03753,"percentile":0.89826,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.75%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://www.securityfocus.com/bid/95838","tags":["Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"https://cordova.apache.org/announcements/2017/01/27/android-612.html","tags":["Mitigation","Vendor Advisory"],"source":"security@apache.org"},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","source":"security@apache.org"},{"url":"http://www.securityfocus.com/bid/95838","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cordova.apache.org/announcements/2017/01/27/android-612.html","tags":["Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-3160","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}