MediumGHSA-484f-743f-6jx2CVE-2019-16774

Object injection in cookie driver in phpfastcache

Published 12 Dec 2019 · Updated 8 Jul 2026

Is your project on an affected phpfastcache/phpfastcache?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=5.0.0 <5.0.13
Fixed in
5.0.13
Update to the fixed version for your release line, for example:composer require phpfastcache/phpfastcache:^5.0.13

Details

Impact

An possible object injection has been discovered in cookie driver prior 5.0.13 versions (of 5.x releases).

Patches

The issue has been addressed by enforcing JSON conversion when deserializing

Workarounds

If you can't fix it, use another driver such as "Files" (Filesystem)

References

Fixing release: https://github.com/PHPSocialNetwork/phpfastcache/releases/tag/5.0.13

For more information

If you have any questions or comments about this advisory:

  • Open an issue in the issue tracker
  • Email us at [security@geolim4.com](mailto:security@geolim4.com)

Is GHSA-484f-743f-6jx2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected phpfastcache/phpfastcache, and gives you the command that fixes it.

More advisories for phpfastcache/phpfastcache

  • MediumCVE-2021-37704Exposed phpinfo() leadked via documentation files · 30 Aug 2021
phpfastcache/phpfastcache security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.