Skip to content

Update dependency org.testng:testng to v7.5.1 [SECURITY]#56

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-org.testng-testng-vulnerability
Open

Update dependency org.testng:testng to v7.5.1 [SECURITY]#56
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-org.testng-testng-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Mar 17, 2023

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
org.testng:testng (source) 7.3.07.5.1 age confidence

TestNG is vulnerable to Path Traversal

CVE-2022-4065 / GHSA-rc2q-x9mf-w3vf

More information

Details

Impact

Affected by this vulnerability is the function testngXmlExistsInJar of the file testng-core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser.

The manipulation leads to path traversal only for .xml, .yaml and .yml files by default. The attack implies running an unsafe test JAR. However since that JAR can also contain executable code itself, the path traversal is unlikely to be the main attack.

Patches

A patch is available in version 7.7.0 at commit 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to apply a patch to fix this issue. The patch was pushed into the master branch but no releases have yet been made with the patch included.

A backport of the fix is available in [version 7.5.1]((https://github.com/cbeust/testng/releases/tag/7.5.1) for Java 8 projects.

Workaround
  • Specify which tests to run when invoking TestNG by configuring them on the CLI or in the build tool controlling the run.
  • Do not run tests with untrusted JARs on the classpath, this includes pull requests on open source projects.

Severity

  • CVSS Score: 7.8 / 10 (High)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

testng-team/testng (org.testng:testng)

v7.5.1: TestNG v7.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: testng-team/testng@7.5...7.5.1

v7.5

Compare Source

v7.4.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency org.testng:testng to v7.7.0 [SECURITY] Update dependency org.testng:testng to v7.5.1 [SECURITY] May 28, 2023
@renovate
renovate Bot force-pushed the renovate/maven-org.testng-testng-vulnerability branch from 27289c2 to e28fc82 Compare May 28, 2023 09:36
@renovate renovate Bot changed the title Update dependency org.testng:testng to v7.5.1 [SECURITY] Update dependency org.testng:testng to v7.5.1 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/maven-org.testng-testng-vulnerability branch March 27, 2026 01:31
@renovate renovate Bot changed the title Update dependency org.testng:testng to v7.5.1 [SECURITY] - autoclosed Update dependency org.testng:testng to v7.5.1 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/maven-org.testng-testng-vulnerability branch 2 times, most recently from e28fc82 to 35d92c6 Compare March 30, 2026 18:33
@renovate renovate Bot changed the title Update dependency org.testng:testng to v7.5.1 [SECURITY] Update dependency org.testng:testng to v7.5.1 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency org.testng:testng to v7.5.1 [SECURITY] - autoclosed Update dependency org.testng:testng to v7.5.1 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/maven-org.testng-testng-vulnerability branch 2 times, most recently from 35d92c6 to 84d30db Compare April 27, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants