CVE-2021-36567 Deserialization of Untrusted Data in topthink/framework

Critical 9.8 Published Updated

A deserialization vulnerability in ThinkPHP allows attackers to execute arbitrary code via the Flysystem cache component.

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

What is CVE-2021-36567?

CVE-2021-36567 is a critical unsafe deserialization vulnerability in n/a, published on 6 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\AbstractCache.

Weakness: CWE-502

Which versions are affected by CVE-2021-36567?

2 open source packages ship an affected version, including topthink/framework. It affects 1 product.

PackageAffectedFixed in
topthink/framework PackagistAll versions to 6.0.8None
topthink/framework PackagistAll versions to 6.0.8None

Products include Thinkphp Thinkphp.

How do I fix CVE-2021-36567?

No fix has been published for CVE-2021-36567 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-36567 being exploited?

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

Sources

Also known as GHSA-qrvj-274h-hfcg.

Is CVE-2021-36567 in your software?

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

Check your SBOMs for free