Unsafe Dependancy Resolution

Affecting org.testng:testng artifact, versions [,7.0.0-beta4)

Do your applications use this vulnerable package? Test your applications

Overview

org.testng:testng is a testing framework for the JVM.

Affected versions of this package are vulnerable to Unsafe Dependancy Resolution due to resolving dependencies over an insecure channel (http).

If the build occurred over an insecure connection, a malicious user could have perform a Man-in-the-Middle attack during the build and alter the build artifacts that were produced. In case that any of these artifacts were compromised, any developers using these could be altered.

Note: In order to validate that this artifact was not compromised, the maintainer would need to confirm that none of the artifacts published to the registry were not altered with. Until this happens, we can not guarantee that this artifact was not compromised even though the probability that this happened is low.

We have chosen to alert on this issue when maintainers either decided to issue CVEs themselves, or in cases when maintainers decided against performing audits on there build to verify they had not been compromised.

Remediation

Upgrade org.testng:testng to version 7.0.0-beta4 or higher.

References

CVSS Score

5.6
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    Low
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Credit
JLLeitschuh
CWE
CWE-494 CWE-829
Snyk ID
SNYK-JAVA-ORGTESTNG-174823
Disclosed
22 Feb, 2019
Published
11 Jun, 2019