Vulnerability · Published Sep 20, 2024 · Assigned by GitHub_M
CVE-2024-45793Cross-site Scripting from in Confidant API call
Medium 4.8
In plain English
A medium-severity cross-site scripting in confidant from lyft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Confidant is a open source secret management service that provides user-friendly storage and access to secrets. The following endpoints are subject to a cross site scripting vulnerability: GET /v1/credentials, GET /v1/credentials/, GET /v1/archive/credentials/, GET /v1/archive/credentials, POST /v1/credentials, PUT /v1/credentials/, PUT /v1/credentials//<to_revision>, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//<to_revision>. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance. This issue has been patched in version 6.6.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | confidant | 6.6.2 | GHSA-rxq8-q85f-m866 |
| PyPI | confidant | 6.6.2 | PYSEC-2026-1269 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866 x_refsource_CONFIRM
- https://hackerone.com/reports/2332004 x_refsource_MISC
- https://hackerone.com/reports/2456673 x_refsource_MISC
- https://hackerone.com/reports/2476542 x_refsource_MISC