{"containers":{"cna":{"affected":[{"product":"cesanta/mongoose","vendor":"n/a","versions":[{"lessThan":"7.6","status":"affected","version":"unspecified","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Snyk Security Team"}],"datePublic":"2022-02-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Arbitrary File Write","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-02-18T12:55:21.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk"},"references":[{"tags":["x_refsource_MISC"],"url":"https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180"},{"tags":["x_refsource_MISC"],"url":"https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945"}],"title":"Arbitrary File Write","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-02-18T12:50:23.330853Z","ID":"CVE-2022-25299","STATE":"PUBLIC","TITLE":"Arbitrary File Write"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"cesanta/mongoose","version":{"version_data":[{"version_affected":"<","version_value":"7.6"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Snyk Security Team"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary File Write"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180"},{"name":"https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945","refsource":"MISC","url":"https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T04:36:06.664Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945"}]}]},"cveMetadata":{"assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","cveId":"CVE-2022-25299","datePublished":"2022-02-18T12:55:21.998Z","dateReserved":"2022-02-16T00:00:00.000Z","dateUpdated":"2024-09-16T17:52:54.754Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}