Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/casdoor/casdoor
  4. ›
  5. CVE-2022-44942

CVE-2022-44942: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

December 7, 2022 (updated December 8, 2022)

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

References

  • github.com/casdoor/casdoor/issues/1171
  • nvd.nist.gov/vuln/detail/CVE-2022-44942

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.126.1

Fixed versions

  • v1.126.1

Solution

Upgrade to version 1.126.1 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/casdoor/casdoor/CVE-2022-44942.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:34 +0000.