Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. django-celery-results
  4. ›
  5. CVE-2020-17495

CVE-2020-17495: django-celery-results Stores Sensitive Information In Cleartext

June 4, 2021 (updated September 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

  • github.com/advisories/GHSA-fvx8-v524-8579
  • github.com/celery/django-celery-results
  • github.com/celery/django-celery-results/commit/ad508fe3433499e5fc94645412d911e174863f28
  • github.com/celery/django-celery-results/issues/142
  • github.com/celery/django-celery-results/issues/154
  • github.com/celery/django-celery-results/pull/316
  • github.com/pypa/advisory-database/tree/main/vulns/django-celery-results/PYSEC-2020-38.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-17495

Code Behaviors & Features

Detect and mitigate CVE-2020-17495 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-312: Cleartext Storage of Sensitive Information

Source file

pypi/django-celery-results/CVE-2020-17495.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.