Skip to content

fix(security): lock joserfc at 1.7.7 - #2787

Merged
dan-petty merged 3 commits into
mainfrom
fix/2786-joserfc-advisory
Oct 30, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/2786-joserfc-advisory

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Upgrade the locked joserfc from 1.7.5 to 1.7.7.

GHSA-9pg5-8c7x-5hfx (CVE-2026-119284) affects joserfc 1.7.5. A compact JWS size guard allocates attacker-controlled segments before it rejects them. The fix is in 1.7.6. The audit check fails on every pull request until the lock moves.

joserfc is a transitive dependency of authlib. authlib sets no upper bound on it. The change moves only joserfc in uv.lock. It adds no constraint, no ignore entry and no exemption.

Closes #2786

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Oct 30, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Audit output with uv audit.

Before (main lock, joserfc 1.7.5):

Found 1 known vulnerability and no adverse project statuses in 236 packages

Vulnerabilities:

joserfc 1.7.5 has 1 known vulnerability:

- GHSA-9pg5-8c7x-5hfx: joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection

  Fixed in: 1.7.6

  Advisory information: https://nvd.nist.gov/vuln/detail/CVE-2026-119284

After (this branch, joserfc 1.7.7):

Resolved 237 packages in 1ms
Found no known vulnerabilities and no adverse project statuses in 236 packages

@dan-petty
dan-petty marked this pull request as ready for review October 30, 2026 15:55
@dan-petty
dan-petty merged commit 0b9f9e5 into main Oct 30, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/2786-joserfc-advisory branch October 30, 2026 16:00
dan-petty-release Bot added a commit that referenced this pull request Oct 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.22.4](v0.22.3...v0.22.4)
(2026-10-30)


### Bug Fixes

* **pr:** pr create adds the labels of the title
([#2782](#2782))
([7183af3](7183af3)),
closes [#2748](#2748)
* **roadmap:** refused shell programs name their replacement
([#2783](#2783))
([0458f8f](0458f8f)),
closes [#2773](#2773)
* **roadmap:** restore the own group text in an implement step
([#2780](#2780))
([163a840](163a840)),
closes [#2774](#2774)
* **security:** lock joserfc at 1.7.7
([#2787](#2787))
([0b9f9e5](0b9f9e5)),
closes [#2786](#2786)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): joserfc 1.7.5 has GHSA-9pg5-8c7x-5hfx and fails the dependency audit

1 participant