Description
Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| heymrun | heym | < 0.0.21 | 0.0.21 |
References
- heym 0.0.21 Release Notes release-notes
- https://github.com/heymrun/heym/pull/92 issue-tracking patch
- https://github.com/heymrun/heym/commit/835843e6d2bf7d018cbb8e50f28f0426eaa20c84 patch
- https://www.vulncheck.com/advisories/heym-path-traversal-file-upload-via-upload-file third-party-advisory