MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testing and performance testing. Versions prior to 2.5.1 allow users to upload a file, but do not validate the file name, which may lead to upload file to any path. The vulnerability has been fixed in v2.5.1. There are no workarounds.
{
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46178.json",
"cna_assigner": "GitHub_M"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-46178.json"
[
{
"target": {
"function": "toHashTree",
"file": "api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java"
},
"id": "CVE-2022-46178-636f3596",
"deprecated": false,
"signature_type": "Function",
"source": "https://github.com/metersphere/metersphere/commit/8e5455a00c54e5efd5d01de55258e548702583f5",
"signature_version": "v1",
"digest": {
"function_hash": "68593591742400051668706482424047994328",
"length": 3546.0
}
},
{
"target": {
"file": "api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java"
},
"id": "CVE-2022-46178-b8f8d860",
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/metersphere/metersphere/commit/8e5455a00c54e5efd5d01de55258e548702583f5",
"signature_version": "v1",
"digest": {
"line_hashes": [
"322932455839097205091892292438140062018",
"151060018808302580421457518745355805453",
"284541459468125324867198926681464239690",
"178769566840486555860437685373154167721"
],
"threshold": 0.9
}
}
]