Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ updates:
# a major bump (14.x) could diverge from what the worker reads and silently
# break symbolication. Minor/patch within 13.x are still proposed (the
# arch/format identifier-pinning tests guard those); a major is not.
#
# NOTE: both crates are currently a rev-pinned GIT dependency on the
# bugsee/symbolic fork (see Cargo.toml), which Dependabot does not track, so
# these rules are inert until they return to crates.io. Tracking: https://github.com/bugsee/bugsee-cli/issues/96
- dependency-name: "symbolic-common"
update-types: ["version-update:semver-major"]
- dependency-name: "symbolic-debuginfo"
Expand Down
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,55 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.8.2] - 2026-10-30

### Security
- **`zip` 8.6.0 -> 9.1.2, and no `zip` 7.x left in the tree.** `symbolic-debuginfo` 13.9.0 pulled
in `zip` 7.2.0 through its default `sourcebundle` feature, inside the advisories' vulnerable
range (<9.0.0), and neither 13.9.0 nor 14.0.0-alpha.4 builds with that feature off. The CLI now
takes `symbolic-common` / `symbolic-debuginfo` from `bugsee/symbolic` (upstream 13.9.0 plus
getsentry/symbolic#1097, the zip 7.2.0 -> 9 bump, and a `zstd` 0.13 -> 0.14 bump) as a pinned
git dependency, until a `symbolic` release includes those changes ([#96]). Also refreshes `rustls` (0.23.46), `tokio` (1.54),
`uuid`, `plist`, `memmap2`, `zstd-sys` and other transitive dependencies.
- **Nine more RustSec advisories cleared; `cargo audit` reports none.** Each bump was read
against its upstream changelog and exercised against the live endpoints and real symbol files
(see Verification).
- `h2` 0.4.14 -> 0.4.20 (RUSTSEC-2026-0258). HTTP/2 client used by every upload. Hardening

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: P3 Low

Location: CHANGELOG.md:22 (and :45)

Problem: The entry says h2 is the "HTTP/2 client used by every upload" and that the new build reaches the endpoints "over TLS/HTTP2". That is not what this build does. reqwest is declared in Cargo.toml:109 without the http2 feature, and cargo tree -i h2 -e normal prints nothing. h2 is only in the tree through wiremock (dev-dependency feature unification). It never ships in the binary, so uploads go over HTTP/1.1.

Impact: The changelog now contradicts the 0.7.5 and 0.7.6 entries (CHANGELOG.md:577-580, :611-612), which correctly say RUSTSEC-2026-0258 does not apply to the shipped binary. A reader (or an auditor) is told the shipped client had an exposed HTTP/2 stack that this release hardens, and that the e2e run exercised HTTP/2. Neither is true. The h2 bump is lockfile and dev-only hygiene, the same as the quinn-proto line below it.

Fix: Reword the h2 bullet along the lines of "lockfile/dev-only (via wiremock), not compiled into the binary; bumped so the lockfile stops advertising it" and change "over TLS/HTTP2" at line 45 to "over TLS". Only the claim needs changing; the bump itself is fine.

only: bounded small-DATA-frame floods, a cap on HPACK table size, validated `content-length` /
`:status` / GOAWAY frames, flow-control and reset-limit accounting fixes. A compliant server
sees no change.
- `rustls-webpki` 0.103.15 -> 0.103.16 (RUSTSEC-2026-0382): rejects certificate paths through a
small set of distrusted intermediate public keys.
- `webpki-roots` 1.0.7 -> 1.0.11 (RUSTSEC-2026-0381): the bundled root store drops Atos
TrustedRoot 2011, SecureSign Root CA12 and three eMudhra emSign roots, and adds SECOM and Telia
TLS roots. None of them are in the chains of `api.bugsee.com`, `download.bugsee.com` or S3.
- `quinn-proto` 0.11.17 -> 0.11.19 (RUSTSEC-2026-0338, -0340, -0343). Lockfile-only: reached
through reqwest's optional HTTP/3 feature, which this crate does not enable, so it is never
compiled; bumped so the lockfile stops advertising it.
- `zstd` 0.13 -> 0.14.3, `zstd-safe` 7.2 -> 8.2 (RUSTSEC-2026-0391, -0398, -0403). Pulled in by
`symbolic-debuginfo`, not by this crate (which already used 0.14), so the fix is in the
fork. The only use is decompressing zstd-compressed ELF sections; the 0.14 breaking changes
(dictionary borrowing, license, bindgen) do not touch that call.

### Verification
- The stock-`symbolic` build and this build were compared on the same inputs: 2,160 CLI
invocations over 315 files and 45 directories (system Mach-O fat binaries and the `symbolic` and
repo fixtures) gave identical exit code, stdout and stderr; 30 real uploads (ELF, PDB, dSYM and
Rust flows) gave byte-identical registration bodies and uploaded packages.
- `scripts/e2e_flows.py` passes against both, inside its peak-memory budgets; the new build reaches
`api.bugsee.com` and `download.bugsee.com` over TLS/HTTP2 with the same responses as before.

### Changed
- **Symbol parsing comes from a pinned fork of `symbolic`** (see Security above); behaviour is
unchanged.
- **MSRV raised to 1.89** (`rust-version`): `uuid` 1.29 requires it. Verified with
`cargo +1.89 check --all-targets`.
- **No ANSI colour codes in logs unless stderr is a terminal.** Xcode and Gradle build logs, CI
logs and the detached `bugsee-cli.log` no longer contain escape codes; a non-empty `NO_COLOR`
also turns colour off.
- **The legacy `@bugsee/bugsee-cli` npm package is no longer published.** Use `@bugsee/cli`.

[#96]: https://github.com/bugsee/bugsee-cli/issues/96

## [0.8.1] - 2026-10-08

Expand Down
95 changes: 27 additions & 68 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bugsee-cli"
version = "0.8.1"
version = "0.8.2"
edition = "2021"
# Real floor, not an aspiration: the locked tree requires 1.89 (`uuid`,
# plus `gimli`, `globset`, `plist`, `time` at 1.88). Verify a bump with `cargo +<ver> check
Expand Down Expand Up @@ -116,8 +116,13 @@ futures-util = "0.3"
# `code_id` (GNU build-id) the per-`.so` native upload reads is a stable,
# major-13 value, so a newer minor here stays identifier-compatible with the
# worker's 13.1.1.
symbolic-common = "13.9.0"
symbolic-debuginfo = "13.9.0"
# TEMPORARY FORK: bugsee/symbolic branch `bugsee/13.9.0-zip9` = upstream 13.9.0 plus
# getsentry/symbolic#1097 (zip 7.2.0 -> 9). Stock 13.9.0 pulls zip 7.2.0 through its
# default `sourcebundle` feature, inside the advisory range (<9.0.0), and neither
# 13.9.0 nor 14.0.0-alpha.4 builds with that feature off. Drop this and return to
# crates.io once a symbolic release includes #1097. Tracking: https://github.com/bugsee/bugsee-cli/issues/96
symbolic-common = { git = "https://github.com/bugsee/symbolic", rev = "326a05f91d5fc41cbd5c4f0d4144b7793dfee744" }
symbolic-debuginfo = { git = "https://github.com/bugsee/symbolic", rev = "326a05f91d5fc41cbd5c4f0d4144b7793dfee744" }

# Regex for the iOS deps text parsers (Cartfile.resolved lines and otool -L
# load-path lines). Used in cli/ios_deps.rs only.
Expand Down
Loading