CVE-2019-15521: Spoon Library as used in Fork CMS allows PHP object injection
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70595%
CWE
Published
5/24/2022
Updated
7/17/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
spoon/library | composer | < 1.4.1 | 1.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsafe deserialization in SpoonCookie::get()
where user-controlled cookie data is passed directly to unserialize()
. This matches the CWE-502 pattern. The GitHub advisory specifically references line 117 in cookie.php
containing the unserialize
call. The set method's use of serialize()
creates the attack surface by persisting serialized data. The patch in ForkCMS
replaced these serialize
/unserialize
calls with JSON encoding/decoding to eliminate object injection risks.