External Control of File Name or Path Affecting github.com/casdoor/casdoor/object package, versions <1.126.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCASDOORCASDOOROBJECT-3160304
  • published7 Dec 2022
  • disclosed7 Dec 2022
  • creditGrzegorz Niedziela

Introduced: 7 Dec 2022

CVE-2022-44942  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade github.com/casdoor/casdoor/object to version 1.126.1 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path by allowing an attacker to perform arbitrary file deletion via the uploadFile function.

CVSS Scores

version 3.1