Description
Mesop is a Python-based UI framework that allows users to build web applications. Versions 1.2.2 and below contain a Path Traversal vulnerability that allows any user supplying an untrusted state_token through the UI stream payload to arbitrarily target files on the disk under the standard file-based runtime backend. This can result in application denial of service (via crash loops when reading non-msgpack target files as configurations), or arbitrary file manipulation. This vulnerability heavily exposes systems hosted utilizing FileStateSessionBackend. Unauthorized malicious actors could interact with arbitrary payloads overwriting or explicitly removing underlying service resources natively outside the application bounds. This issue has been fixed in version 1.2.3.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/.../mesop/security/advisories/GHSA-8qvf-mr4w-9x2c
github.com/.../mesop/security/advisories/GHSA-8qvf-mr4w-9x2c
github.com/...ommit/c6b382f363b73ac32c402a2db3aadc7784f66a5b
github.com/mesop-dev/mesop/releases/tag/v1.2.3