Description
Luanox is a module host for Lua packages. Prior to 0.1.1, a file traversal vulnerability can cause potential denial of service by overwriting Phoenix runtime files. Package names like ../../package are not properly filtered and pass the validity check of the rockspec verification system. This causes the uploaded file to be stored at the relative path location. If planned carefully, this could overwrite a runtime file and cause the website to crash. This vulnerability is fixed by 0.1.1.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-23: Relative Path Traversal
Product status
References
github.com/...luanox/security/advisories/GHSA-42c5-x4pj-4p3w
github.com/...ommit/2b6237f3baaa1d905c491fca29f8301835721c46
github.com/...ommit/5198640c9644e2fcef5809f83b9ab0a9b4d0eeb2