[GHSA-3xxm-3g3c-w579] moodle/moodle: backports to 3.9.24, 3.11.17, 4.0.11, 4.1.6, 4.2.3 not reflected - #9382
Open
zyl71 wants to merge 1 commit into
Conversation
…0.11, 4.1.6, 4.2.3 not reflected
github-actions
Bot
changed the base branch from
main
to
zyl71/advisory-improvement-9382
September 7, 2026 04:28
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.
Updates
Comments
Current record: Packagist:moodle/moodle: introduced=0 fixed=4.3.0-rc2
Proposed: Packagist:moodle/moodle: introduced=0 fixed=3.9.24 | introduced=3.10.0-beta fixed=3.11.17 | introduced=4.0.0-beta fixed=4.0.11 | introduced=4.1.0-beta fixed=4.1.6 | introduced=4.2.0-beta fixed=4.2.3 | introduced=4.3.0-beta fixed=4.3.0-rc2
The record marks every moodle/moodle version below 4.3.0-rc2 as vulnerable, but MDL-79408 shipped in the 2023-10-07 security release on all supported branches: each of v3.9.24, v3.11.17, v4.0.11, v4.1.6, v4.2.3 carries a cherry-pick of ba974a4a (verified by the commit on the tag and by the unserialize_object() change in the tagged files), while the preceding release on each branch does not. This matches the Moodle security advisory (MSA-23-0031) and NVD. The new lower bounds are the first Packagist version of each line (3.10.0-beta, 4.0.0-beta, 4.1.0-beta, 4.2.0-beta), because with plain x.y.0 the vulnerable betas/RCs of those lines (3.10.0-beta/rc1/rc2, 4.0.0-beta/rc1-rc4, 4.1.0-beta/rc1-rc3, 4.2.0-beta/rc1/rc2, all published before the fix) would sort below the lower bound and fall outside every range.
Release lines: Lines with releases around the 2023-10-07 security release: 3.9 (LTS, fixed 3.9.24; 3.9.25 later), 3.10 (ended 2022-05-07 with 3.10.11, never fixed -> stays inside [3.10.0-beta,3.11.17)), 3.11 (fixed 3.11.17), 4.0 (fixed 4.0.11), 4.1 (fixed 4.1.6), 4.2 (fixed 4.2.3), 4.3 (pre-release line: beta 2023-09-23 and rc1 2023-10-03 vulnerable, rc2 2023-10-06 fixed, 4.3.0 final 2023-10-07 fixed). All lines <=3.8 ended before the fix and are covered by [0,3.9.24). The '>= x.y.0-beta' notation is already used in existing moodle/moodle ranges in this database (223 of the 1322 moodle/moodle ranges, including 42 that start at '>= 4.3.0-beta').
Maintainer statements: Moodle MSA-23-0031 (mirrored in RH bug 2243352 and in NVD's CPE data): affects 4.2 to 4.2.2, 4.1 to 4.1.5, 4.0 to 4.0.10, 3.11 to 3.11.16, 3.9 to 3.9.23 and earlier unsupported versions; fixed in 4.2.3, 4.1.6, 4.0.11, 3.11.17, 3.9.24. That agrees with the proposed ranges; the record's single '< 4.3.0-rc2' range does not.
Evidence:
Version checks:
This comes from a systematic comparison of advisory ranges with fix commits and published registry artifacts. Happy to adjust if the maintainers intend otherwise.