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. Fidess 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. 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.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:
Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:
Information exposures can occur in different ways:
It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.