Skip to content

Add advisory for physis_pro: remote error body can permanently disable a shared LLM provider - #3175

Open
ilPez00 wants to merge 1 commit into
rustsec:mainfrom
ilPez00:physis_pro-provider-availability
Open

Add advisory for physis_pro: remote error body can permanently disable a shared LLM provider#3175
ilPez00 wants to merge 1 commit into
rustsec:mainfrom
ilPez00:physis_pro-provider-availability

Conversation

@ilPez00

@ilPez00 ilPez00 commented Aug 26, 2026

Copy link
Copy Markdown

Filed by the crate author, which per CONTRIBUTING waives the upstream-report and coordinated-disclosure prerequisites. The embargo is lifted: the fix, the affected range and the mechanism are already public in the crate's own repository and changelog.

Summary. physis_pro routes completions through a cascade of LLM providers. In 0.1.60.1.8 a provider was removed from the cascade by substring-matching the text of a failed HTTP response. OpenAI-compatible endpoints quote the offending request back inside error.message, and that request carries the caller's prompt — so a prompt containing a phrase like does not exist that provokes any 4xx would match. The removal was permanent (mark_unavailable() wrote a flag only Provider::new() ever cleared) and the cascade is process-wide, so the loss hit every caller rather than the one who caused it. Walking the cascade reaches No provider available for the life of the process.

Availability only — no disclosure or modification of data. Rated AC:H because success depends on the upstream provider echoing request content in its error bodies: common among OpenAI-compatible gateways, but a property of the vendor rather than of this crate.

Fixed in 0.1.9. Detection now reads only the machine-written error.code / error.type fields against a fixed set of vendor codes, never the message prose, and skips bodies that are not JSON. The park became a bounded 15-minute cooldown rather than a permanent latch.

Versions. patched = [">= 0.1.9"], unaffected = ["< 0.1.6"]. The lower bound was taken from the published tarballs rather than from git history — 0.1.5 carries only a pre-existing 401/403 latch, which keys on a status code rather than on caller-influenced text, so it is not vulnerable. 0.1.6, 0.1.7 and 0.1.8 have been yanked.

rustsec-admin lint reports Linted ok for this file.

Full write-up: https://github.com/ilPez00/physis-pro/blob/main/security/advisories/physis_pro-provider-availability.md

…e a shared LLM provider

Filed by the crate author. Fixed in physis_pro 0.1.9; 0.1.6 through 0.1.8
are yanked.
@djc

djc commented Aug 26, 2026

Copy link
Copy Markdown
Member

Please use the pull request template, and don't have your agent write the PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants