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

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2021-41127?

CVE-2021-41127 is a high-severity vulnerability in RasaHQ rasa, published on 21 Oct 2021.

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.

Weakness: CWE-23, CWE-22

Which versions are affected by CVE-2021-41127?

3 open source packages ship an affected version, including rasa. It affects 1 product.

PackageAffectedFixed in
rasa PyPIAll versions2.8.10
rasa PyPIAll versions2.8.10
rasa PyPIAll versions2.8.10

Products include Rasa Rasa.

How do I fix CVE-2021-41127?

Upgrade rasa to 2.8.10 or later.

Is CVE-2021-41127 being exploited?

There is no known exploitation of CVE-2021-41127 in the wild and no public exploit code.

Sources

Also known as GHSA-4365-fhm5-qcrx, PYSEC-2021-381.

Is CVE-2021-41127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free