GHSA-rxq8-q85f-m866

Suggest an improvement
Source
https://github.com/advisories/GHSA-rxq8-q85f-m866
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-rxq8-q85f-m866/GHSA-rxq8-q85f-m866.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rxq8-q85f-m866
Aliases
  • CVE-2024-45793
Published
2024-09-20T15:45:23Z
Modified
2024-09-20T22:24:45.883757Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
Prevent XSS from Confidant API call
Details

Impact

What kind of vulnerability is it? Who is impacted? Potential XSS from API calls below: GET <app>/v1/credentials GET <app>/v1/credentials/<id> GET <app>/v1/archive/credentials/<id> GET <app>/v1/archive/credentials POST <app>/v1/credentials PUT <app>/v1/credentials/<id> PUT <app>/v1/credentials/<id>/<to_revision>

GET <app>/v1/services GET <app>/v1/services/<id> GET <app>/v1/archive/services/<id> GET <app>/v1/archive/services PUT <app>/v1/services/<id> PUT <app>/v1/services/<id>/<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.

References

Affected packages

PyPI / confidant

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.2

Affected versions

1.*

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

4.0.0
4.1.0
4.2.0
4.3.1
4.4.0

5.*

5.0.0
5.0.1
5.1.0
5.2.0

6.*

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.0a2
6.6.0
6.6.1