vemonet/libre-chat · Security
libre-chat Path Traversal vulnerability
- GHSA ID
- GHSA-3864-rp2m-2qfj
- CVE ID
- CVE-2024-52787
- Severity
- medium
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v4
- 6.6 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Description
An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-52787 ↗
- https://github.com/vemonet/libre-chat/issues/10 ↗
- https://github.com/vemonet/libre-chat/pull/9 ↗
- https://github.com/vemonet/libre-chat/commit/dbb8e3400e5258112179783d74c9cc54310cb72b ↗
- https://gist.github.com/jxfzzzt/276a6e8cfbc54d2c2711bb51d8d3dff3 ↗
- https://github.com/advisories/GHSA-3864-rp2m-2qfj ↗