CVE-2024-52008: Ethyca fides Password Policy Bypass Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-v7vm-rhmg-8j2r
CVSS 5.7
CWE-602
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-52008
GHSA Identifier GHSA-v7vm-rhmg-8j2r
Severity LOW
CVSS v3.1 Base Score 5.7
CWE Classification CWE-602: Client-Side Enforcement of Server-Side Security
Affected Product Ethyca fides
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

ethyca-fides fixed: 2.50.0
pip install ethyca-fides>=2.50.0
Verify Direct and Transitive Dependencies

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

### Summary The 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. ### Details When 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. ### Impact This 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. ### Patches The 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. ### Workarounds There are no workarounds. ### Severity This vulnerability has been assigned a severity of LOW. Using 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.

CVE-2024-52008 Affected Ethyca fides Versions

1 component(s)
Fixed Versions:
2.50.0
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?
CVE-2024-52008 is a security vulnerability in Ethyca fides involving Password Policy Bypass Vulnerability in Fides Webserver User Accept Invite API under CWE-602: Client-Side Enforcement of Server-Side Security.
Which Ethyca fides versions are affected?
Affected versions include releases prior to 2.50.0 across affected packages: ethyca-fides.
What version fixes CVE-2024-52008?
Upgrading to 2.50.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ethyca-fides affected?
Yes, ethyca-fides is affected in releases prior to 2.50.0. Upgrade your dependency to 2.50.0 or later.
What is the CVSS score of CVE-2024-52008?
CVE-2024-52008 has a CVSS v3.1 base score of 5.7 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2024-52008?
CVE-2024-52008 is classified under CWE-602: Client-Side Enforcement of Server-Side Security (The product is composed of a server that relies on the client to implement a mechanism that is intended to protect the server.).
How can I check PyPI dependencies for CVE-2024-52008?
Run the dependency tree command: 'pip show ethyca-fides'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}