CVE-2019-15521 Spoon Library as used in Fork CMS allows PHP object injection

Critical 9.8 Published Updated

Attackers can achieve code execution by sending a malicious serialized object in a cookie to applications using the vulnerable Spoon Library.

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

What is CVE-2019-15521?

CVE-2019-15521 is a critical unsafe deserialization vulnerability in n/a, published on 26 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Spoon Library through 2014-02-06, as used in Fork CMS before 1.4.1 and other products, allows PHP object injection via a cookie containing an object.

Weakness: CWE-502

Which versions are affected by CVE-2019-15521?

2 open source packages ship an affected version, including spoon/library. It affects 2 products.

PackageAffectedFixed in
spoon/library PackagistAll versions1.4.1
spoon/library PackagistAll versions1.4.1

Products include Fork-Cms Fork Cms, Spoon-Library Spoon Library.

How do I fix CVE-2019-15521?

Upgrade spoon/library to 1.4.1 or later.

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

Is CVE-2019-15521 being exploited?

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

Sources

Also known as GHSA-2p2x-mw56-jc98.

Is CVE-2019-15521 in your software?

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

Check your SBOMs for free