{"schemaVersion":3,"id":"CVE-2017-3160","aliases":[],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2018-02-01T21:00:00.000Z","modified":"2024-09-16T19:56:14.676Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03753,"percentile":0.89745,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03753},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03894,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03753,"percentile":0.89745}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03894,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03753,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03753,"percentile":0.89745}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"apache software foundation","product":"apache cordova android","name":"Apache Cordova Android","label":"apache cordova android","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Apache Cordova 6.1.0 and below","noFixRecorded":false,"fixedIn":null}],"versionsText":"Apache Cordova 6.1.0 and below","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_cordova_android"},{"vendor":"apache","product":"cordova","name":"cordova","label":"cordova","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.2","eol":null,"hubHref":"/vendor/apache/cordova"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://cordova.apache.org/announcements/2017/01/27/android-612.html","label":"cordova.apache.org/announcements/2017/01/27/android-612.html","hostname":"cordova.apache.org","tags":["X Refsource MISC","Mitigation","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/95838","label":"www.securityfocus.com/bid/95838","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","label":"www.oracle.com/security-alerts/cpuapr2020.html","hostname":"www.oracle.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-02-01T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T19:56:14.676Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:16:18.064Z","stale":false,"partial":false}}