Vulnerability Details : CVE-2022-25299
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.
Products affected by CVE-2022-25299
- cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25299
0.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25299
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
Snyk |
CWE ids for CVE-2022-25299
-
The product makes files or directories accessible to unauthorized actors, even though they should not be.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25299
-
https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945
Protect against the directory traversal in mg_upload() · cesanta/mongoose@c65c8fd · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180
Arbitrary File Write in cesanta/mongoose | CVE-2022-25299 | SnykExploit;Third Party Advisory
Jump to