Remove v1.8.17 packages (GHSA-55f2-h36g-96c3) - #8
Merged
Conversation
v1.8.17 is affected by GHSA-55f2-h36g-96c3: PasswordToken, EmailToken and RegistrationToken use `token` as a string primary key but never declared `$keyType = 'string'`, so Eloquent defaulted to `int` and a request supplying a bare integer `0` matched any token MySQL coerces to `0` — enabling password-reset account takeover. v1.8.19 is the only non-vulnerable 1.x release, and its packages are already published in packages/v1.x/v1.8.19/. The 1.x docs download table was regenerated by the v1.8.19 build and no longer links to v1.8.17, so these files are unreferenced.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes all 20 v1.8.17 archives (243 MB). v1.8.17 is affected by GHSA-55f2-h36g-96c3 — password-reset account takeover via type juggling on token primary keys.
v1.8.19 is the only non-vulnerable 1.x release. Its packages are already published in
packages/v1.x/v1.8.19/(20 archives, PHP 8.1–8.5 × 2 bundles × zip/tar.gz).Verified before removal
.htaccesshonoured): installer loads,flarum installcompletes, forum renders, API responds, core reports 1.8.19,flarum/corepinned at^1.8.19,flarum/gdprpresent,flarum/pushergone, sensitive paths blocked (403/404).Note on 1.8.18
Also vulnerable, but no packages were ever built for it here, so there is nothing to remove.
packages/v2.x/is a separate release line and unaffected by this advisory.