Description
Perry before 0.5.1159 contains a path traversal vulnerability that allows a malicious build server to write arbitrary content to any location writable by the running process by supplying unsanitized path components in the artifact_name field of ArtifactReady WebSocket messages. Attackers controlling the server URL can deliver traversal payloads through the artifact_name or download_path fields, causing the client to overwrite sensitive files or expose arbitrary local files to an attacker-accessible location.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 0.5.1159
Credits
Katriel Moses
VulnCheck
References
github.com/.../perry/security/advisories/GHSA-x55v-q459-68ch
github.com/PerryTS/perry/releases/tag/v0.5.1159
github.com/.../perry/security/advisories/GHSA-x55v-q459-68ch
github.com/PerryTS/perry/pull/4989
github.com/...ommit/95e1043df8081f67038bffce847dd9ddb3dae046
www.vulncheck.com/...h-traversal-via-artifactready-websocket