# CVE-2023-48224: Cryptographically Weak Generation of One-Time Codes for Identity Verification in ethyca-fides

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.19% (percentile 68, 2026-11-26)
- **CWE:** CWE-338
- **Aliases:** GHSA-82vr-5769-6358, PYSEC-2026-1336
- **Published:** 2023-11-15T20:53:19.590Z
- **Modified:** 2026-09-10T03:49:58.884Z

## Who should check

- Projects that depend on PyPI package ethyca-fides (\< 2.24.0)
- Anyone running ethyca fides \< 2.24.0

## Description

Fides is an open-source privacy engineering platform for managing the fulfillment of data privacy requests in a runtime environment, and the enforcement of privacy regulations in code. 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. 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. There are no known workarounds for this vulnerability.

## Affected and fixed versions

- PyPI `ethyca-fides`: affected \< 2.24.0; fixed 2.24.0 (osv)
- ethyca fides: \< 2.24.0 (cvelist)

## Mitigation

- Upgrade ethyca-fides to 2.24.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-48224. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-48224.md
Affected: ethyca-fides < 2.24.0
Fixed in: 2.24.0

Steps:
1. Search this machine and project for ethyca-fides (PyPI), ethyca fides: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-48224 being exploited?

There is no confirmed exploitation: CVE-2023-48224 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-48224?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-48224?

ethyca-fides \< 2.24.0.

### Is there a fix for CVE-2023-48224?

Yes. Fixed in 2.24.0. Upgrade ethyca-fides to 2.24.0 or later.

### How do I check if I'm affected by CVE-2023-48224?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ethyca/fides/security/advisories/GHSA-82vr-5769-6358>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-48224>
- vendor: <https://github.com/advisories/GHSA-82vr-5769-6358>
- patch: <https://github.com/ethyca/fides/commit/685bae61c203d29ed189f4b066a5223a9bb774c6>
- other: <https://peps.python.org/pep-0506/>
- other: <https://github.com/ethyca/fides>
- other: <https://peps.python.org/pep-0506>
- other: <https://pypi.org/project/ethyca-fides>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-48224>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-82vr-5769-6358> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1336> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-48224> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-48224>
