CVE-2021-41127
Maliciously Crafted Model Archive Can Lead To Arbitrary File Write
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.
How to fix CVE-2021-41127
To remediate CVE-2021-41127, upgrade the affected package to a fixed version below.
- —upgrade to 2.8.10 or later
- —upgrade to 1b6b502f52d73b4f8cd1959ce724b8ad0eb33989 or later
Is CVE-2021-41127 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.8.10
- from 0, < 1b6b502f52d73b4f8cd1959ce724b8ad0eb33989 | from 0, < 2.8.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H |