p PatchFirst

CVE-2022-4065

CVE-2022-4065 · cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal

CVSS 5.5 · Medium · EPSS 1.2% · Public exploit

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • testngNo fix published
  • testng Ubuntu 14.04 LTSNo fix published
  • testng Ubuntu 16.04 LTSNo fix published
  • testng Ubuntu 18.04 LTSNo fix published
  • and 6 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="testng"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A vulnerability was found in cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0. It has been declared as critical. 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. The attack can be launched remotely. Upgrading to version 7.5.1 and 7.7.1 is able to address this issue. The patch is named 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-214027.

Published
Updated

Fixes in distributions

  • SUSE-SU-2024:2568-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Module for Development Tools 15 SP5, SUSE Linux Enterprise Module for Development Tools 15 SP6, SUSE Linux Enterprise Module for Package Hub 15 SP6, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Manager Server Module 4.3 ·
  • SUSE-SU-2023:1690-1 · openSUSE Leap 15.4, SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Module for Development Tools 15 SP4, SUSE Linux Enterprise Real Time 15 SP3, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·

Stack: system

Affected products and versions

  • testng

    Versions
    • 7.5.0: Affected
    • 7.6.0: Affected
    • 7.6.1: Affected
    • 7.7.0: Affected

    No fix published

  • testng Ubuntu 14.04 LTS

    Versions
    • 5.11+dfsg-3build1
    • 6.8.7-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 16.04 LTS

    Versions
    • 6.9.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 18.04 LTS

    Versions
    • 6.9.12-2
    • 6.9.12-2ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 20.04 LTS

    Versions
    • 6.9.12-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 22.04 LTS

    Versions
    • 6.9.12-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 24.04 LTS

    Versions
    • 6.9.12-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 25.10

    Versions
    • 6.9.12-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 26.10

    Versions
    • 6.9.12-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • testng Ubuntu 26.04 LTS

    Versions
    • 6.9.12-4
    • 6.9.12-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →