High

Ethyca Fides Cryptographically Weak Generation of One-Time Codes for Identity Verification

  • Disclosed: 16.11.2023
  • Updated: 11.10.2026 15:17

Impact

The Fides Privacy Center allows data subject users to submit privacy and consent requests to data controller users of the Fides web application.

Privacy requests allow data subjects to submit a request to access all person data held by the data controller, or delete/erase it. Consent request allows data subject users to modify their privacy preferences for how the data controller uses their personal data e.g. data sales and sharing consent opt-in/opt-out.

If subject_identity_verification_required in the [execution] section of fides.toml or the env var FIDES__EXECUTION__SUBJECT_IDENTITY_VERIFICATION_REQUIRED is set to True on the fides webserver backend, data subjects are sent a one-time code to their email address or phone number, depending on messaging configuration, and the one-time code must be entered in the Privacy Center UI by the data subject before the privacy or consent request is submitted.

It was identified that the one-time code values for these requests were generated by the python random module, a cryptographically weak pseduo-random number generator (PNRG). If an attacker generates several hundred consecutive one-time codes, this vulnerability allows the attacker to predict all future one-time code values during the lifetime of the backend python process.

There is no security impact on data access requests as the personal data download package is not shared in the Privacy Center itself. However, this vulnerability allows an attacker to (i) submit a verified data erasure request, resulting in deletion of data for the targeted user and (ii) submit a verified consent request, modifying a user's privacy preferences.

Patches

The vulnerability has been patched in Fides version 2.24.0. Users are advised to upgrade to this version or later to secure their systems against this threat.

Workarounds

None

References

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) ethyca-fides < 2.24.0 2.24.0

References

CVSS score 8.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Weakness (CWE)
CWE-338
Platform
Python (PyPI)
Package
ethyca-fides
Disclosed
16.11.2023
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1336 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-82vr-5769-6358 - CC BY 4.0

Vulnerability history: ethyca-fides

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (22) in the archive
Total entries
22
First → latest
07.2023 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 7
  • Medium 6
  • Low 9

Disclosures per year

  1. 2023: 9
  2. 2024: 7
  3. 2025: 4
  4. 2026: 2
Severity:
  1. Ethyca Fides Cryptographically Weak Generation of One-Time Codes for Identity Verification this entry
    High · 8.2 CVE-2023-48224 < 2.24.0 2.24.0
  2. High · 8.8 CVE-2023-41319 >= 2.11.0, < 2.19.0 2.19.0
  3. High · 7.5 CVE-2023-36827 < 2.15.1 2.15.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.