Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. topthink/framework
  4. ›
  5. CVE-2022-44289

CVE-2022-44289: Thinkphp has a code logic error

December 6, 2022 (updated December 8, 2022)

Thinkphp 5.1.41 and 5.0.24 has a code logic error which causes file upload getshell.

References

  • github.com/advisories/GHSA-59fh-rjq3-xq7j
  • github.com/top-think/framework/issues/2772
  • nvd.nist.gov/vuln/detail/CVE-2022-44289

Code Behaviors & Features

Detect and mitigate CVE-2022-44289 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 5.0.24, version 5.1.41

Fixed versions

  • 5.1.0
  • 5.1.42

Solution

Upgrade to versions 5.1.0, 5.1.42 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/topthink/framework/CVE-2022-44289.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:28 +0000.