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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PerryTS | perry | < 0.5.1159 | 0.5.1159 |
References
- perry 0.5.1159 Release Notes release-notes
- GitHub Security Advisory (GHSA-x55v-q459-68ch) vendor-advisory
- https://github.com/PerryTS/perry/pull/4989 issue-tracking patch
- https://github.com/PerryTS/perry/commit/95e1043df8081f67038bffce847dd9ddb3dae046 patch
- https://www.vulncheck.com/advisories/perry-path-traversal-via-artifactready-websocket third-party-advisory