django-celery-results Stores Sensitive Information In Cleartext
High severity
GitHub Reviewed
Published
Jun 4, 2021
to the GitHub Advisory Database
•
Updated Sep 13, 2024
Description
Published by the National Vulnerability Database
Aug 11, 2020
Reviewed
May 17, 2021
Published to the GitHub Advisory Database
Jun 4, 2021
Last updated
Sep 13, 2024
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.References