CVE-2021-44255 Unrestricted Upload of File with Dangerous Type in motionEye
Authenticated attackers can achieve remote code execution by uploading a malicious configuration backup containing a Python pickle file.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-44255?
CVE-2021-44255 is a high-severity unsafe deserialization vulnerability in n/a, published on 31 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Authenticated remote code execution in MotionEye <= 0.42.1 and MotioneEyeOS <= 20200606 allows a remote attacker to upload a configuration backup file containing a malicious python pickle file which will execute arbitrary code on the server.
Weakness: CWE-306
Which versions are affected by CVE-2021-44255?
3 open source packages ship an affected version, including motioneye. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
motioneye PyPI | All versions to 0.42.1 | None |
motioneye PyPI | All versions to 0.42.1 | None |
motioneye PyPI | All versions to 0.42.1 | None |
Products include Motioneye Project Motioneye, Motioneyeos Project Motioneyeos.
How do I fix CVE-2021-44255?
No fix has been published for CVE-2021-44255 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-44255 being exploited?
There is no known exploitation of CVE-2021-44255 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m2c7-42rf-c62f, PYSEC-2026-681.