CVE-2025-47942
JSON

5.3medium

Learners on edX Platform can download python_lib.zip

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

The Open edX Platform is a learning management platform. Prior to commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, edxapp has no built-in protection against downloading the python_lib.zip asset from courses, which is a concern since it often contains custom grading code or answers to course problems. This potentially affects any course using custom Python-graded problem blocks. The openedx/configuration repo has had a patch since 2016 in the form of an nginx rule, but this was only intended as a temporary mitigation. As the configuration repo has been deprecated and we have not been able to locate any similar protection in Tutor, it is likely that most deployments have no protection against python_lib.zip being downloaded. The recommended mitigation, implemented in commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, restricts python_lib.zip downloads to just the course team and site staff/superusers.

Affected

Product or packageVersionsReported by
openedx edx-platform< 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8baCVE List

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

The Open edX Platform is a learning management platform. Prior to commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, edxapp has no built-in protection against downloading the python_lib.zip asset from courses, which is a concern since it often contains custom grading code or answers to course problems. This potentially affects any course using custom Python-graded problem blocks. The openedx/configuration repo has had a patch since 2016 in the form of an nginx rule, but this was only intended as a temporary mitigation. As the configuration repo has been deprecated and we have not been able to locate any similar protection in Tutor, it is likely that most deployments have no protection against python_lib.zip being downloaded. The recommended mitigation, implemented in commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, restricts python_lib.zip downloads to just the course team and site staff/superusers.

NVD (es)

La plataforma Open edX es una plataforma de gestión del aprendizaje. Antes de el commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, edxapp no contaba con protección integrada contra la descarga del archivo python_lib.zip de los cursos, lo cual es preocupante, ya que suele contener código de calificación personalizado o respuestas a problemas del curso. Esto podría afectar a cualquier curso que utilice bloques de problemas personalizados con calificación de Python. El repositorio de configuración de OpenX cuenta con un parche desde 2016, una regla de Nginx, pero su propósito era solo una mitigación temporal. Dado que el repositorio de configuración ha quedado obsoleto y no hemos podido encontrar una protección similar en Tutor, es probable que la mayoría de las implementaciones no cuenten con protección contra la descarga de python_lib.zip. La mitigación recomendada, implementada en el commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, restringe las descargas de python_lib.zip únicamente al equipo del curso y al personal/superusuarios del sitio.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-47942 changed 2025-05-22CVE Terms of Use
NVDCVE-2025-47942 changed 2026-06-17Public domain