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

Published May 30, 2024
·
Updated

Fides is an open-source privacy engineering platform. 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 keyfilecreds.privatekey 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. This vulnerability has been patched in Fides version 2.37.0. Users are advised to upgrade to this version or later to secure their systems against this threat. Users are also advised to rotate any Google Cloud secrets used for BigQuery integrations in their Fides deployments. There are no known workarounds for this vulnerability.

Other sources

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 keyfilecreds.privatekey 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.

Impact

The Google Cloud secrets used for a Fides BigQuery integration may be retrieved in plaintext by any authenticated Admin UI user, except those with the Approver role. Any API users authorized to access the following endpoints may also retrieve the key in plaintext.

Endpoints impacted: - GET /api/v1/connections - PATCH /api/v1/connections - GET /api/v1/connection/{connectionkey} - PATCH /api/v1/system/{systemkey}/connection - GET /api/v1/system/{systemkey} - GET /api/v1/system/{systemkey}/connection

Connection config secret schemas impacted: - BigQuerySchema

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

Users are also advised to rotate any Google Cloud secrets used for BigQuery integrations in their Fides deployments: https://cloud.google.com/iam/docs/key-rotation

Workarounds There are no workarounds.

Proof of concept

Multiple endpoints are impacted, but this PoC will use GET /api/v1/system/{systemkey} as an example.

1. Using the Admin UI, navigate to /add-systems. Add and save a new system bqpoc. 2. In the integrations tab of the new system, configure and save a BigQuery integration with secrets. 3. Log in as a different user with any role except Approver and navigate to the /systems page. 4. Open the network section of your browser's developer tools. 5. Click on the bqpoc system's meatball menu and then click edit. 6. In the network section of browser dev tools you will observe a HTTP GET http://localhost:8080/api/v1/system/bqpoc/ request. In the body of the JSON response the integration secrets values entered in Step 2 are exposed in plaintext i.e.

json { "secrets": { "keyfilecreds": { "type": "value", "projectid": "value", "privatekeyid": "value", "privatekey": "value", "clientemail": "value", "clientid": "value", "authuri": "value", "tokenuri": "value", "authproviderx509certurl": "value", "clientx509certurl": "value" } } }

GitHub

Affected Software

2 affected componentsFixes available
pip/ethyca-fides<2.37.0
2.37.0
Ethyca Fides<2.37.0

Event History

May 30, 2024
CVE Published
via MITRE·07:47 PM
Data Sourced
via MITRE·07:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
Affected Software
Jun 2, 2024
Advisory Published
via GitHub·10:28 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-35189?

CVE-2024-35189 is classified as a high-severity vulnerability due to the risk of exposing sensitive data.

2

How do I fix CVE-2024-35189?

To mitigate CVE-2024-35189, upgrade the ethyca-fides package to version 2.37.1 or later.

3

What kind of data is affected by CVE-2024-35189?

CVE-2024-35189 can expose sensitive data such as passwords and private keys contained in ConnectionConfiguration records.

4

What applications are impacted by CVE-2024-35189?

CVE-2024-35189 impacts applications using ethyca-fides versions up to 2.37.0.

5

Is CVE-2024-35189 exploitable remotely?

Yes, CVE-2024-35189 can potentially be exploited remotely if the affected endpoints are accessible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203