Description (CNA)
kotaemon through 0.12.0 contains an insecure deserialization vulnerability in the check_connection endpoint that allows unauthenticated attackers to instantiate arbitrary Python classes by supplying crafted YAML/JSON input with a __type__ field. Attackers can exploit this to override the __type__ field with subprocess.check_output and arbitrary arguments, achieving remote code execution with application process privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Cinnamon / kotaemon | affected 0 through 0.12.0 |
CWE
CWE-502
References
- https://github.com/Cinnamon/kotaemon/issues/844
- https://www.vulncheck.com/advisories/kotaemon-unauthenticated-remote-code-execution-via-insecure-deserialization
ADP enrichment
No English description supplied.
No references supplied.