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.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected products
- PerryTS / perry0 – 0.5.1159
References
- PATCHhttps://github.com/PerryTS/perry/releases/tag/v0.5.1159
- VENDOR_ADVISORYhttps://github.com/PerryTS/perry/security/advisories/GHSA-x55v-q459-68ch
- PATCHhttps://github.com/PerryTS/perry/pull/4989
- PATCHhttps://github.com/PerryTS/perry/commit/95e1043df8081f67038bffce847dd9ddb3dae046
- VENDOR_ADVISORYhttps://www.vulncheck.com/advisories/perry-path-traversal-via-artifactready-websocket