CVE-2021-41127 HIGH

CVE-2021-41127: Maliciously Crafted Model Archive Can Lead To Arbitrary File Write in rasa

Vendor Rasahq
Product rasa
Weakness CWE-22 · Path traversal
Published October 21, 2021
Last update August 4, 2024

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 21, 2021 CVE published
August 4, 2024 Record updated