mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-22 21:28:24 +00:00
security: fix unprivileged content libraries creation
See: https://github.com/openedx/edx-platform/security/advisories/GHSA-3q74-3rfh-g37j https://github.com/openedx/edx-platform/pull/32838 https://discuss.openedx.org/t/security-upcoming-security-release-for-edx-platform-on-2023-07-25/10769
This commit is contained in:
parent
faf43bd3b0
commit
a1945245b8
1
changelog.d/20230728_210255_regis.md
Normal file
1
changelog.d/20230728_210255_regis.md
Normal file
@ -0,0 +1 @@
|
||||
- [Security] Fix content libraries creation by unprivileged users in studio (see [security advisory](https://github.com/openedx/edx-platform/security/advisories/GHSA-3q74-3rfh-g37j)). (by @regisb)
|
@ -50,6 +50,9 @@ RUN git config --global user.email "tutor@overhang.io" \
|
||||
{{ patch("openedx-dockerfile-git-patches-default") }}
|
||||
{%- else %}
|
||||
# Patch edx-platform
|
||||
# Security advisory: https://github.com/openedx/edx-platform/security/advisories/GHSA-3q74-3rfh-g37j
|
||||
# https://github.com/openedx/edx-platform/pull/32838
|
||||
RUN curl -fsSL https://github.com/openedx/edx-platform/commit/163259779297a7dccb28e1f8c3dfa4d2cbdb9655.patch | git am
|
||||
{%- endif %}
|
||||
|
||||
{# Example: RUN curl -fsSL https://github.com/openedx/edx-platform/commit/<GITSHA1>.patch | git am #}
|
||||
|
Loading…
x
Reference in New Issue
Block a user