CVE-2022-4065

Source
https://cve.org/CVERecord?id=CVE-2022-4065
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4065.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-4065
Aliases
Downstream
Related
Published
2022-11-19T00:00:00Z
Modified
2026-08-12T03:51:38.205596253Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4065.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "7.5.0"
                },
                {
                    "last_affected": "7.5.0"
                }
            ]
        }
    ],
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/testng-team/testng

Affected ranges

Type
GIT
Repo
https://github.com/testng-team/testng
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "7.6.0"
        },
        {
            "last_affected": "7.6.0"
        },
        {
            "introduced": "7.6.1"
        },
        {
            "last_affected": "7.6.1"
        },
        {
            "introduced": "7.7.0"
        },
        {
            "last_affected": "7.7.0"
        }
    ]
}

Affected versions

7.*
7.6.0
7.6.0-rc1
7.6.1
7.6.1-rc1
7.7.0
7.7.0-rc1
7.7.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4065.json"