OESA-2024-1072

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1072
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1072.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-1072
Upstream
Published
2024-01-12T11:06:48Z
Modified
2025-09-03T06:18:27.491702Z
Summary
testng security update
Details

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionality that make it more powerful and easier to use, such as: * Annotations. * Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc...). * Test that your code is multithread safe. * Flexible test configuration. * Support for data-driven testing (with @DataProvider). * Support for parameters. * Powerful execution model (no more TestSuite). * Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...). * Embeds BeanShell for further flexibility. * Default JDK functions for runtime and logging (no dependencies). * Dependent methods for application server testing.

Security Fix(es):

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.(CVE-2022-4065)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe1

Ecosystem specific

{
    "noarch": [
        "testng-javadoc-6.14.3-7.oe1.noarch.rpm",
        "testng-6.14.3-7.oe1.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP4 / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe2003sp4

Ecosystem specific

{
    "noarch": [
        "testng-6.14.3-7.oe2003sp4.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2003sp4.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe2003sp4.src.rpm"
    ]
}

openEuler:22.03-LTS / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe2203sp3

Ecosystem specific

{
    "noarch": [
        "testng-javadoc-6.14.3-7.oe2203.noarch.rpm",
        "testng-6.14.3-7.oe2203.noarch.rpm",
        "testng-6.14.3-7.oe2203sp1.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp1.noarch.rpm",
        "testng-6.14.3-7.oe2203sp2.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp2.noarch.rpm",
        "testng-6.14.3-7.oe2203sp3.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp3.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe2203.src.rpm",
        "testng-6.14.3-7.oe2203sp1.src.rpm",
        "testng-6.14.3-7.oe2203sp2.src.rpm",
        "testng-6.14.3-7.oe2203sp3.src.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe2203sp1

Ecosystem specific

{
    "noarch": [
        "testng-6.14.3-7.oe2203sp1.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp1.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe2203sp1.src.rpm"
    ]
}

openEuler:22.03-LTS-SP2 / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-22.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe2203sp2

Ecosystem specific

{
    "noarch": [
        "testng-6.14.3-7.oe2203sp2.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp2.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe2203sp2.src.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / testng

Package

Name
testng
Purl
pkg:rpm/openEuler/testng&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.14.3-7.oe2203sp3

Ecosystem specific

{
    "noarch": [
        "testng-6.14.3-7.oe2203sp3.noarch.rpm",
        "testng-javadoc-6.14.3-7.oe2203sp3.noarch.rpm"
    ],
    "src": [
        "testng-6.14.3-7.oe2203sp3.src.rpm"
    ]
}