CVE-2020-13091 Deserialization in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via malicious pickle files in pandas read_pickle, though usage is documented as unsafe.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13091?

CVE-2020-13091 is a critical unsafe deserialization vulnerability in n/a, published on 15 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

pandas through 1.0.3 can unserialize and execute commands from an untrusted file that is passed to the read_pickle() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the read_pickle() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner

Weakness: CWE-502

Which versions are affected by CVE-2020-13091?

1 open source package ship an affected version, including pandas. It affects 1 product.

PackageAffectedFixed in
pandas PyPIAll versions1.0.4

Products include Numfocus Pandas.

How do I fix CVE-2020-13091?

Upgrade pandas to 1.0.4 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2020-13091 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-13091, GHSA-cmm9-mgm5-9r42, PYSEC-2020-73.

Is CVE-2020-13091 in your software?

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

Check your SBOMs for free