UBUNTU-CVE-2022-25299

Source
https://ubuntu.com/security/CVE-2022-25299
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25299.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-25299
Upstream
Published
2022-02-18T13:15:00Z
Modified
2025-10-24T04:53:31Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.9.0-1
2.*
2.0.0+dfsg-1
2.1.1+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "phantomjs",
            "binary_version": "2.1.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25299.json"

Ubuntu:18.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.1+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "phantomjs",
            "binary_version": "2.1.1+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25299.json"

Ubuntu:20.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-2ubuntu1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.1+dfsg-2
2.1.1+dfsg-2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "phantomjs",
            "binary_version": "2.1.1+dfsg-2ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25299.json"