CVE-2017-3160

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

7.4
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.82% Top 30%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Cordova Android
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2017-3160?
CVE-2017-3160 has been scored as a high severity vulnerability.
How to fix CVE-2017-3160?
To fix CVE-2017-3160, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-3160 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2017-3160 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2017-3160?
CVE-2017-3160 affects Apache Software Foundation Apache Cordova Android.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.