org.testng:testng@6.2.1 vulnerabilities

  • latest version

    7.10.2

  • latest non vulnerable version

  • first published

    18 years ago

  • latest version published

    8 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.testng:testng package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary File Write via Archive Extraction (Zip Slip)

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

    Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) via the testngXmlExistsInJar function.

    How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

    Upgrade org.testng:testng to version 7.5.1, 7.7.0 or higher.

    [,7.5.1)[7.6.0,7.7.0)
    • M
    Unsafe Dependency Resolution

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

    Affected versions of this package are vulnerable to Unsafe Dependency 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.

    How to fix Unsafe Dependency Resolution?

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

    [,7.0.0-beta4)