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.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.8%top 44.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIrasa2.8.10GHSA-4365-fhm5-qcrx
PyPIrasa2.8.10PYSEC-2021-381

Affected products (as reported)

VendorProductVersions
RasaHQ rasa < 2.8.10

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