Skip to content

CVE-2022-25299 Arbitrary File Write

HighCVSS 7.5 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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.

Upgrade path

4 packages: 1 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/phantomjs(Ubuntu 16.04) = 1.9.0-1; = 2.0.0+dfsg-1; = 2.1.1+dfsg-1; All versions No fix listed No fix yet
ubuntu/phantomjs(Ubuntu 18.04) = 2.1.1+dfsg-2; All versions No fix listed No fix yet
ubuntu/phantomjs(Ubuntu 20.04) = 2.1.1+dfsg-2; = 2.1.1+dfsg-2ubuntu1; All versions No fix listed No fix yet
cesanta mongoose < 7.6 7.6 Fixed

Affected products

ProductAffected versionsFixed in
cesanta mongoose < 7.6 7.6
ubuntu/phantomjs(Ubuntu:16.04) All versions No fix listed
ubuntu/phantomjs(Ubuntu:16.04) = 1.9.0-1 No fix listed
ubuntu/phantomjs(Ubuntu:16.04) = 2.0.0+dfsg-1 No fix listed
ubuntu/phantomjs(Ubuntu:16.04) = 2.1.1+dfsg-1 No fix listed
ubuntu/phantomjs(Ubuntu:18.04) All versions No fix listed
ubuntu/phantomjs(Ubuntu:18.04) = 2.1.1+dfsg-2 No fix listed
ubuntu/phantomjs(Ubuntu:20.04) All versions No fix listed
ubuntu/phantomjs(Ubuntu:20.04) = 2.1.1+dfsg-2 No fix listed
ubuntu/phantomjs(Ubuntu:20.04) = 2.1.1+dfsg-2ubuntu1 No fix listed

References