Vulnerability · Published Feb 18, 2022 · Assigned by snyk

CVE-2022-25299Arbitrary File Write

Critical 9.8

In plain English

A critical-severity security flaw in cesanta/mongoose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities).

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected products (as reported)

VendorProductVersions
n/a cesanta/mongoose unspecified – before 7.6

References