🔍 CVE-2024-35189

6.5
CVSS Score
MEDIUM
2024-05-30
2026-06-17 07:34
✅ 완료

🇰🇷 한글 설명

오픈소스 프라이버시 엔지니어링 플랫폼인 Fides의 웹 서버에서 중첩된 비밀 데이터가 마스킹되지 않고 평문으로 노출되는 취약점이 발견되었습니다. 특히 BigQuery 연결 설정의 'keyfile_creds.private_key' 필드가 API를 통해 그대로 노출될 수 있습니다. 이 문제는 Fides 2.37.0 버전에서 패치되었습니다.

💡 쉬운 설명

비밀번호나 개인키 같은 중요한 정보가 별표(***)로 가려져야 하는데, 특정 설정 내부에 숨겨진 정보는 가려지지 않고 그대로 보이는 문제입니다. 이로 인해 해커가 중요한 인증 정보를 훔쳐갈 위험이 있습니다.

🇺🇸 원문 (English)

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

📍 영향받는 시스템

Fides 2.37.0 미만 버전 (특히 BigQuery 연결 설정을 사용하는 환경)

⚔️ 공격 벡터

API 엔드포인트를 통해 ConnectionConfiguration 레코드를 요청하여 중첩된 민감한 필드를 평문으로 탈취

🛡️ 대응 방법

Fides를 2.37.0 버전 이상으로 업그레이드하고, 사용 중인 Google Cloud BigQuery 관련 비밀 정보를 교체(Rotate)하십시오.

🔧 검증 코드

출력된 버전이 2.37.0 미만이면 취약한 상태이며, 2.37.0 이상이면 안전합니다.

Shell / Script
pip show fides | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST