Fides Webserver Logs Hosted Database Password Partial Exposure Vulnerability
The Fides webserver requires a connection to a hosted PostgreSQL database for persistent storage of application data. If the password used by the webserver for this database connection includes special characters such as @ and $, webserver startup fails and the part of the password following the special character is exposed in webserver error logs.
This is caused by improper escaping of the SQLAlchemy password string, see here and here for more info.
Impact
Partial exposure of hosted database password in webserver logs
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.
Workarounds
There are no workarounds.
Proof of Concept
- Create a hosted PostgreSQL database for Fides with a password including
@or$e.g.p@ssword - Run Fides and observe failure, sample log attached
fides | 2024-02-28 14:27:52.609 | ERROR | fides.api.db.database:configure_db:117 - Unable to configure database: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "ssword@fides-db" to address: Name or service not known
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | ethyca-fides | < 2.37.0 | 2.37.0 |
Odnośniki
- https://github.com/ethyca/fides/security/advisories/GHSA-8cm5-jfj2-26q7
- https://nvd.nist.gov/vuln/detail/CVE-2024-34715
- https://github.com/ethyca/fides/commit/6ab37b1ffe2b1a3bd35b706a82f78e061086141c
- https://docs.sqlalchemy.org/en/14/core/engines.html#escaping-special-characters-such-as-signs-in-passwords
- https://github.com/ethyca/fides
- https://github.com/sqlalchemy/sqlalchemy/discussions/6615
- https://pypi.org/project/ethyca-fides
- https://github.com/advisories/GHSA-8cm5-jfj2-26q7
- Wektor CVSS
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N- Słabość (CWE)
CWE-116, CWE-532- Platforma
- Python (PyPI)
- Paczka
ethyca-fides- Ujawniono
- 29.05.2024
- Aktualizacja
- 11.10.2026 15:17
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-1337 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-8cm5-jfj2-26q7 - CC BY 4.0
Historia podatności: ethyca-fides
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 22
- Pierwsza → ostatnia
- 07.2023 05.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 7
- Średnia 6
- Niska 9
Ujawnienia w latach
- 2023: 9
- 2024: 7
- 2025: 4
- 2026: 2
-
Fides Webserver Logs Hosted Database Password Partial Exposure Vulnerability ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.