Resources Downloaded over Insecure Protocol Affecting cordova-android package, versions <6.1.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDnpm:cordova-android:20170127
  • published12 Feb 2018
  • disclosed27 Jan 2017
  • creditUnknown

Introduced: 27 Jan 2017

CVE-2017-3160  (opens in a new tab)
CWE-300  (opens in a new tab)

How to fix?

Upgrade cordova-android to version 6.1.2 or higher.

Overview

cordova-android is an Android application library that allows for Cordova-based projects to be built for the Android Platform.

Affected versions of the package are vulnerable to Man in the Middle (MitM) attacks due to downloading resources over an insecure protocol.

The build scripts would fetch Gradle using HTTP instead of HTTPS

Without a secure connection, it is possible for an attacker to intercept this connection and alter the packages received. In serious cases, this may even lead to Remote Code Execution (RCE) on your host server.

CVSS Scores

version 3.1