Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1yeHE4LXE4NWYtbTg2Ns4AA_tI
Prevent XSS from Confidant API call
Impact
What kind of vulnerability is it? Who is impacted?
Potential XSS from API calls below:
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>
Stored XSS that can only be used as a stored HTML injection. 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.
Patches
Has the problem been patched? What versions should users upgrade to?
yes, version 6.6.2
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
NO
References
Are there any links users can visit to find out more?
https://hackerone.com/reports/2332004
https://hackerone.com/reports/2456673
https://hackerone.com/reports/2476542
Acknowledgement:
Thank you Rein Daelman (trein) for reporting and proposing the fix.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yeHE4LXE4NWYtbTg2Ns4AA_tI
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 23 days ago
Updated: 23 days ago
CVSS Score: 4.8
CVSS vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-rxq8-q85f-m866, CVE-2024-45793
References:
- https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866
- https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9
- https://nvd.nist.gov/vuln/detail/CVE-2024-45793
- https://hackerone.com/reports/2332004
- https://hackerone.com/reports/2456673
- https://hackerone.com/reports/2476542
- https://github.com/advisories/GHSA-rxq8-q85f-m866
Blast Radius: 0.0
Affected Packages
pypi:confidant
Dependent packages: 0Dependent repositories: 1
Downloads: 932 last month
Affected Version Ranges: < 6.6.2
Fixed in: 6.6.2
All affected versions: 1.1.19, 1.1.20, 1.1.21, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.8.0, 1.9.0, 1.10.1, 1.11.0, 4.0.0, 4.1.0, 4.2.0, 4.3.1, 4.4.0, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.6.0, 6.6.1
All unaffected versions: