CVE-2022-33107 Deserialization of Untrusted Data in topthink/framework

Critical 9.8 Published Updated

Attackers can execute arbitrary code via a crafted payload in the ThinkPHP framework's cached adapter 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-2022-33107?

CVE-2022-33107 is a critical unsafe deserialization vulnerability in n/a, published on 29 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerability allows attackers to execute arbitrary code via a crafted payload.

Weakness: CWE-502

Which versions are affected by CVE-2022-33107?

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

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

Products include Thinkphp Thinkphp.

How do I fix CVE-2022-33107?

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

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

Sources

Also known as GHSA-g377-x8rg-c9mf.

Is CVE-2022-33107 in your software?

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

Check your SBOMs for free