Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ethyca-fides
  4. ›
  5. CVE-2024-35189

CVE-2024-35189: Sensitive Data Disclosure Vulnerability in Connection Configuration Endpoints

June 2, 2024

The Fides webserver has a number of endpoints that retrieve ConnectionConfiguration records and their associated secrets which can contain sensitive data (e.g. passwords, private keys, etc.). These secrets are stored encrypted at rest (in the application database), and the associated endpoints are not meant to expose that sensitive data in plaintext to API clients, as it could be compromising.

Fides’s developers have available to them a Pydantic field-attribute (sensitive) that they can annotate as True to indicate that a given secret field should not be exposed via the API. The application has an internal function that uses sensitive annotations to mask the sensitive fields with a "**********" placeholder value.

This vulnerability is due to a bug in that function, which prevented sensitive API model fields that were nested below the root-level of a secrets object from being masked appropriately. Only the BigQuery connection configuration secrets meets these criteria: the secrets schema has a nested sensitive keyfile_creds.private_key property that is exposed in plaintext via the APIs.

Connection types other than BigQuery with sensitive fields at the root-level that are not nested are properly masked with the placeholder and are not affected by this vulnerability.

References

  • cloud.google.com/iam/docs/key-rotation
  • github.com/advisories/GHSA-rcvg-jj3g-rj7c
  • github.com/ethyca/fides
  • github.com/ethyca/fides/security/advisories/GHSA-rcvg-jj3g-rj7c
  • nvd.nist.gov/vuln/detail/CVE-2024-35189

Code Behaviors & Features

Detect and mitigate CVE-2024-35189 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.37.0

Fixed versions

  • 2.37.0

Solution

Upgrade to version 2.37.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/ethyca-fides/CVE-2024-35189.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:46 +0000.