CVE-2024-52008: Ethyca fides Password Policy Bypass Vulnerability Vulnerability
LOWCVE-2024-52008 is a LOW (CVSS 5.7) password policy bypass vulnerability vulnerability (CWE-602: Client-Side Enforcement of Server-Side Security) affecting Ethyca fides libraries in the PyPI ecosystem. The issue involves password policy bypass vulnerability in fides webserver user accept invite api. Remediation is available by upgrading affected packages to version 2.50.0.
CVE-2024-52008 at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-52008
To remediate this vulnerability, upgrade all affected Ethyca fides dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ethyca-fides>=2.50.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ethyca-fides
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-52008, inspect your installed packages using pip:
pip show ethyca-fides
Analyze the terminal output to locate any version of Ethyca fides in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.50.0), your application is affected.
Note: The pip show ethyca-fides command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-602: Client-Side Enforcement of Server-Side Security, where the product is composed of a server that relies on the client to implement a mechanism that is intended to protect the server. In Ethyca fides, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-52008 Affected Ethyca fides Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ethyca-fides
|
PyPI |
< 2.50.0
|
2.50.0
|
References
Frequently Asked Questions
What is CVE-2024-52008?
Which Ethyca fides versions are affected?
What version fixes CVE-2024-52008?
Is ethyca-fides affected?
What is the CVSS score of CVE-2024-52008?
What CWE is associated with CVE-2024-52008?
How can I check PyPI dependencies for CVE-2024-52008?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v7vm-rhmg-8j2r",
"modified" : "2024-11-26T21:43:29Z",
"published" : "2024-11-26T16:36:52Z",
"aliases" : [ "CVE-2024-52008" ],
"summary" : "Password Policy Bypass Vulnerability in Fides Webserver User Accept Invite API",
"details" : "### Summary\n\nThe user invite acceptance API endpoint lacks server-side password policy enforcement, allowing users to set arbitrarily weak passwords by bypassing client-side validation. While the UI enforces password complexity requirements, direct API calls can circumvent these checks, enabling the creation of accounts with passwords as short as a single character.\n\n### Details\n\nWhen an email messaging provider is enabled and a new user account is created in the system, an invite email containing a special link is sent to the new user's email address. This link directs the new user to a page where they can set their initial password. While the user interface implements password complexity checks, these validations are only performed client-side. The underlying `/api/v1/user/accept-invite` API endpoint does not implement the same password policy validations.\n\n### Impact\n\nThis vulnerability allows an invited user to set an extremely weak password for their own account during the initial account setup process. Therefore that specific user's account can be compromised easily by an attacker guessing or brute forcing the password.\n\n### Patches\n\nThe vulnerability has been patched in Fides version `2.50.0`. Users are advised to upgrade to this version or later to secure their systems against this threat.\n\n### Workarounds\n\nThere are no workarounds.\n\n### Severity\n\nThis vulnerability has been assigned a severity of LOW.\n\nUsing CVSS v3.1 it could be scored as `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N` (5.7 Medium/Moderate), but the likelihood of a user bypassing client-side password complexity rules to set their own password is very low. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ethyca-fides"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.50.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ethyca/fides/security/advisories/GHSA-v7vm-rhmg-8j2r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52008"
}, {
"type" : "WEB",
"url" : "https://github.com/ethyca/fides/commit/ce664da46ab7f86d29583ebc34f2ff776f0aa6c2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ethyca/fides"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-602" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-26T16:36:52Z",
"nvd_published_at" : "2024-11-26T19:15:29Z"
}
}