Advisory

GHSA-4365-fhm5-qcrx

Also known as: CVE-2021-41127, PYSEC-2021-381

Summary

Maliciously Crafted Model Archive Can Lead To Arbitrary File Write

Details

Impact
An Archive Extraction (Zip Slip) vulnerability in the functionality that allows a user to load a trained model archive in Rasa 2.8.9 and older allows an attacker arbitrary write capability within specific directories using a malicious crafted archive file.

Patches
The vulnerability is fixed in Rasa 2.8.10

Workarounds
Mitigating steps for vulnerable end users are to ensure that they do not upload untrusted model files, and restrict CLI or API endpoint access where a malicious actor could target a deployed Rasa instance.

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-22 16:19 UTC
Modified
2026-07-08 06:27 UTC

Affected packages and fixes

rasa

PyPI · All systems

Affected

  • introduced 0, fixed 2.8.10 (ecosystem)

Fixed versions

2.8.10

Fix

  • Fixed version 2.8.10
    pip install --upgrade rasa==2.8.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences