ubuntu-cve-2022-4065
Vulnerability from osv_ubuntu
Published
2022-11-19 19:15
Modified
2026-05-20 14:55
Summary
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.
Severity
5.5 (Medium)
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.8.7-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.8.7-2?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.11+dfsg-3build1",
"6.8.7-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.5-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-2ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-2ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-2",
"6.9.12-2ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-4?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-4?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "testng",
"binary_version": "6.9.12-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "testng",
"purl": "pkg:deb/ubuntu/testng@6.9.12-5?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.9.12-4",
"6.9.12-5"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2022-4065",
"modified": "2026-05-20T14:55:37Z",
"published": "2022-11-19T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-4065"
},
{
"type": "REPORT",
"url": "https://github.com/cbeust/testng/pull/2806"
},
{
"type": "REPORT",
"url": "https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-4065"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-4065"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…