Vulnerability · Published Oct 21, 2021 · Assigned by GitHub_M
CVE-2021-41127Maliciously Crafted Model Archive Can Lead To Arbitrary File Write in rasa
High 7.3
In plain English
A high-severity path traversal in rasa from RasaHQ. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Rasa is an open source machine learning framework to automate text-and voice-based conversations. In affected versions a vulnerability exists in the functionality that loads a trained model `tar.gz` file which allows a malicious actor to craft a `model.tar.gz` file which can overwrite or replace bot files in the bot directory. The vulnerability is fixed in Rasa 2.8.10. For users unable to update ensure that users do not upload untrusted model files, and restrict CLI or API endpoint access where a malicious actor could target a deployed Rasa instance.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | rasa | 2.8.10 | GHSA-4365-fhm5-qcrx |
| PyPI | rasa | 2.8.10 | PYSEC-2021-381 |
Affected products (as reported)
Weakness: CWE-22, CWE-23 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
References
- https://github.com/RasaHQ/rasa/security/advisories/GHSA-4365-fhm5-qcrx x_refsource_CONFIRM
- https://github.com/RasaHQ/rasa/commit/1b6b502f52d73b4f8cd1959ce724b8ad0eb33989 x_refsource_MISC