Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-9cp7-j3f8-p5jx

Daptin has Unauthenticated Path Traversal and Zip Slip
Back to all
CVE

GHSA-9cp7-j3f8-p5jx

Daptin has Unauthenticated Path Traversal and Zip Slip

Impact

The cloudstore.file.upload action in server/actions/actioncloudstorefile_upload.go writes user-supplied filenames directly to disk without proper validation. 

This allows unauthenticated attackers to perform path traversal and zip slip attacks, leading to arbitrary file write and potential remote code execution.

CVSS Score: 10.0 Critical

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

CWE: CWE-22 (Path Traversal)

Patches

Upgrade to a patched version once released. The vulnerability affects all versions <= v0.11.3 (latest).

Workarounds

Restrict access to the cloudstore.file.upload action through authentication and authorization controls until a patch is available.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/daptin/daptin/security/advisories/GHSA-9cp7-j3f8-p5jx, https://github.com/daptin/daptin/commit/8d626bbb14f82160a08cbca53e0749f475f5742c, https://github.com/daptin/daptin

Severity

10

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
10
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0
Fix Available
0.12.0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading