Back to CVE catalog
CVE-2017-3160

Cordova Android Gradle download over insecure HTTP

Apache Software Foundation Apache Cordova Android

At a glance

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

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS summary v3.0

7.4High
Published:
Updated:
EPSS:
3.753%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Apache Software FoundationApache Cordova AndroidAffected versions:
Apache Cordova 6.1.0 and below
Vendor:ApachecordovaAffected versions:
< 6.1.2Show full version range for cordova
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–2 of 2 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.4 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVE-2017-3160 · OSV (source-vector)7.4 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
[email protected] · NVD (Primary)5.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences