CVE-2019-16774 Object injection in cookie driver

Medium 4.4 Published Updated

An attacker can achieve code execution via object injection in the cookie driver of the phpfastcache library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-16774?

CVE-2019-16774 is a medium-severity unsafe deserialization vulnerability in PHPSocialNetwork phpfastcache, published on 12 Dec 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In phpfastcache before 5.1.3, there is a possible object injection vulnerability in cookie driver.

Weakness: CWE-502, CWE-94

Which versions are affected by CVE-2019-16774?

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

PackageAffectedFixed in
phpfastcache/phpfastcache PackagistFrom 5.0.05.0.13
phpfastcache/phpfastcache PackagistFrom 5.0.05.0.13

Products include Phpfastcache Phpfastcache.

How do I fix CVE-2019-16774?

Upgrade phpfastcache/phpfastcache to 5.0.13 or later.

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

Is CVE-2019-16774 being exploited?

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

Sources

Also known as GHSA-484f-743f-6jx2.

Is CVE-2019-16774 in your software?

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

Check your SBOMs for free