diff --git a/CHANGELOG.md b/CHANGELOG.md index fa96e0f848..e4616e86d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,11 @@ instructions, because git commits are used to generate release notes: + +## v21.0.4 (2026-04-10) + +- [Security] Backport fix to remove `activation_key` exposure from `/api/user/v1/accounts/{username}`, preventing email verification bypass via OAuth2 password grant flow (source: upstream edx-platform commit 21cead238466ca398ba368518f1d3288431d68f4). + ## v21.0.3 (2026-04-09) diff --git a/tutor/__about__.py b/tutor/__about__.py index 728ce47eff..77833b0ff3 100644 --- a/tutor/__about__.py +++ b/tutor/__about__.py @@ -2,7 +2,7 @@ # Increment this version number to trigger a new release. See # docs/tutor.html#versioning for information on the versioning scheme. -__version__ = "21.0.3" +__version__ = "21.0.4" # The version suffix will be appended to the actual version, separated by a # dash. Use this suffix to differentiate between the actual released version and diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index c9b7912694..67b6613d42 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -64,6 +64,9 @@ RUN git config --global user.email "tutor@overhang.io" \ {# RUN curl -fsSL https://github.com/openedx/edx-platform/commit/.patch | git am #} {# Include a comment on why the patch is neccessary. #} +# SECURITY FIX: remove activation_key exposure from account API +RUN curl -fsSL https://github.com/openedx/openedx-platform/commit/21cead238466ca398ba368518f1d3288431d68f4.patch | git am + {{ patch("openedx-dockerfile-post-git-checkout") }} ##### Empty layer with just the repo at the root.