Skip to content

Require phpseclib 2.0.56 or later - #10

Merged
maksimovic merged 2 commits into
masterfrom
phpseclib-2.0.56
Nov 22, 2026
Merged

maksimovic merged 2 commits into
masterfrom
phpseclib-2.0.56

Conversation

@maksimovic

Copy link
Copy Markdown
Owner

phpseclib/phpseclib: ^2.0 → ^2.0.56

2.0.56 is the first 2.x release whose only open advisory is GHSA-q97c-8qh3-fpc6. Composer versions that don't block insecure packages can therefore no longer install an older 2.x release, such as one with the AES-CBC padding-oracle advisory that affects JWE decryption.

This doesn't fix #7 by itself. Composer 2.9 still refuses every 2.x release, because GitHub's copy of GHSA-q97c-8qh3-fpc6 has no lower bound; a correction is open at github/advisory-database#10865. The README now explains the advisory and the audit.ignore entry to add until then.

Older 2.x releases have open advisories in code jose-php uses, such as
AES-CBC decryption. The README explains how to ignore the X25519
advisory that makes Composer 2.9 refuse every phpseclib 2.x release.
@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.89%. Comparing base (e25389a) to head (68222ec).

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #10   +/-   ##
=========================================
  Coverage     96.89%   96.89%           
  Complexity      187      187           
=========================================
  Files             6        6           
  Lines           451      451           
=========================================
  Hits            437      437           
  Misses           14       14           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Pushes to master still run it; other branches get it through their pull request, so each PR runs once.
@maksimovic
maksimovic merged commit 1d1a892 into master Nov 22, 2026
12 checks passed
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.

phpseclib affected by security advisories

1 participant