ADVISORIES

GitHub Advisory Database

GHSA-fvx8-v524-8579

django-celery-results Stores Sensitive Information In Cleartext

Details

django-celery-results prior to 2.4.0 stores task results in the database. Among the data it stores are the variables passed into the tasks. The variables may contain sensitive cleartext information that does not belong unencrypted in the database.

In version 2.4.0 this is no longer the default behaviour but can be re-enabled with the result_extended flag in which case care should be taken to ensure any sensitive variables are scrubbed - see here for an example.

Affected packages

EcosystemPackageAffected versions
PyPIdjango-celery-results
All versions before 2.4.0 (fixed in 2.4.0)

References