Skip to content

Commit 0334a93

Browse files
proggeramlugRalph Küpper
andauthored
chore(release): v0.5.1159 — security fix for GHSA-x55v-q459-68ch (#4992)
Security release. Bumps [workspace.package].version 0.5.1158 -> 0.5.1159 (+ Cargo.lock, CLAUDE.md version line) and prepends a v0.5.1159 CHANGELOG entry. The only code change since v0.5.1158 is #4989, which fixes a path traversal / arbitrary file write in perry publish (GHSA-x55v-q459-68ch). After merge: tag v0.5.1159 + publish the GitHub release, then set the advisory's patched version to 0.5.1159 and publish it. Co-authored-by: Ralph Küpper <ralph@skelpo.com>
1 parent 95e1043 commit 0334a93

4 files changed

Lines changed: 87 additions & 76 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## v0.5.1159 — security: fix path traversal / arbitrary file write in `perry publish` (GHSA-x55v-q459-68ch)
2+
3+
Security release. `perry publish` trusted the build server's
4+
`ArtifactReady.artifact_name` and `download_path` verbatim when constructing
5+
the local destination path, allowing a malicious/compromised hub to write
6+
downloaded content outside the output directory (arbitrary file write) and, in
7+
the self-hosted-hub local-copy path, copy out arbitrary local files. All
8+
versions through v0.5.1158 are affected. Upgrade to v0.5.1159.
9+
10+
- fix(publish): sanitize server-controlled artifact path (GHSA-x55v-q459-68ch) (#4989)
11+
112
## v0.5.1158 — release roll-up: stub-elimination epic tail, React render walls, http/cluster/streams parity
213

314
Version-bump + changelog roll-up for the 16 commits that landed after the

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
88

99
Perry is a native TypeScript compiler written in Rust that compiles TypeScript source code directly to native executables. It uses SWC for TypeScript parsing and LLVM for code generation.
1010

11-
**Current Version:** 0.5.1158
11+
**Current Version:** 0.5.1159
1212

1313

1414
## TypeScript Parity Status

0 commit comments

Comments
 (0)