Description
A flaw has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. This issue affects the function PIL.Image.tobytes of the file libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py of the component Vision Chat Paste Image Handler. This manipulation of the argument paste_image.image_data causes use of weak hash. The attacker needs to be present on the local network. The attack is considered to have high complexity. The exploitability is assessed as difficult. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
CVSS breakdown
CVSS 4.0
Attack Vector
Adjacent
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
None
Integrity (Vulnerable System)
Low
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
E
Physical
CVSS 3.1
Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
E
Physical
RL
X
RC
Required
Affected products
- chatchat-space / Langchain-Chatchat0.3.1.0 – 0.3.1.0
- chatchat-space / Langchain-Chatchat0.3.1.1 – 0.3.1.1
- chatchat-space / Langchain-Chatchat0.3.1.2 – 0.3.1.2
- chatchat-space / Langchain-Chatchat0.3.1.3 – 0.3.1.3
References
- MISChttps://vuldb.com/vuln/361124
- MISChttps://vuldb.com/vuln/361124/cti
- MISChttps://vuldb.com/submit/807794
- MISChttps://github.com/chatchat-space/Langchain-Chatchat/issues/5462
- MISChttps://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
- MISChttps://github.com/chatchat-space/Langchain-Chatchat/