Arbitrary File Upload Affecting org.apache.linkis:linkis-storage-script-dev-server package, versions [,1.3.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2% (79th 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-JAVA-ORGAPACHELINKIS-5417254
  • published11 Apr 2023
  • disclosed11 Apr 2023
  • creditLaihan

Introduced: 11 Apr 2023

CVE-2023-27602  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade org.apache.linkis:linkis-storage-script-dev-server to version 1.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Upload such that the PublicService module uploads files without restrictions on the path to the uploaded files, and file types.

Workaround

Users who are unable to upgrade to the fixed version should turn on the file path check switch in linkis.properties wds.linkis.workspace.filesystem.owner.check=true wds.linkis.workspace.filesystem.path.check=true.

CVSS Base Scores

version 3.1