Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-25299 EUVD-2022-29986GHSA-q66h-r8q8-x284

Arbitrary File Write

Published Feb 18, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— cesanta/mongoose unspecified – < 7.6 7.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS phantomjs No fix yet —
Ubuntu 18.04 LTS phantomjs No fix yet —
Ubuntu 16.04 LTS phantomjs No fix yet —

Advisories 1

References