VDB
Sign up
MEDIUM4.8

PYSEC-2026-3052

OpenFUN Richie Observable Timing Discrepancy in its sync_course_run_from_request function

Quick fix

PYSEC-2026-3052 — richie: upgrade to the fixed version with the command below.

pip install --upgrade 'richie>=3.3.0'

Details

An issue in OpenFUN Richie (LMS) in src/richie/apps/courses/api.py. The application used the non-constant time == operator for HMAC signature verification in the sync_course_run_from_request function. This allows remote attackers to forge valid signatures and bypass authentication by measuring response time discrepancies.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/richie
Introduced in: 0Fixed in: 3.3.0
Fixpip install --upgrade 'richie>=3.3.0'

References