{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-23512", "ASSIGNER": "security-advisories@github.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "MeterSphere is a one-stop open source continuous testing platform. Versions prior to 2.4.1 are vulnerable to Path Injection in ApiTestCaseService::deleteBodyFiles which takes a user-controlled string id and passes it to ApiTestCaseService, which uses the user-provided value (testId) in new File(BODY_FILE_DIR + \"/\" + testId), being deleted later by file.delete(). By adding some camouflage parameters to the url, an attacker can target files on the server. The vulnerability has been fixed in v2.4.1." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "cweId": "CWE-22" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "metersphere", "product": { "product_data": [ { "product_name": "metersphere", "version": { "version_data": [ { "version_value": "< 2.4.1", "version_affected": "=" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27", "refsource": "MISC", "name": "https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27" } ] }, "source": { "advisory": "GHSA-5mwp-xw7p-5j27", "discovery": "UNKNOWN" }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.7, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N", "version": "3.1" } ] } }