CVE-2023-28115 — Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a ur
Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.4.2, Snappy is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the `file_exists()` function. If an attacker can
Published
2023-03-17T21:15:25.113Z
Last modified
2025-02-25T14:53:10.142Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
01What is this vulnerability?
Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.4.2, Snappy is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the `file_exists()` function. If an attacker can upload files of any type to the server he can pass in the phar:// protocol to unserialize the uploaded file and…
02Affected products
| Vendor | Product | Versions |
|---|
| KnpLabs | snappy | < 1.4.2 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-03-17T21:15:25.113Z
- Last modified: 2025-02-25T14:53:10.142Z
09References
- github.com — https://github.com/KnpLabs/snappy/security/advisories/GHSA-gq6w-q6wh-jggc
- github.com — https://github.com/KnpLabs/snappy/pull/469
- github.com — https://github.com/KnpLabs/snappy/commit/1ee6360cbdbea5d09705909a150df7963a88efd…
- github.com — https://github.com/KnpLabs/snappy/commit/b66f79334421c26d9c244427963fa2d92980b5d…
- github.com — https://github.com/KnpLabs/snappy/blob/5126fb5b335ec929a226314d40cd8dad497c3d67/…
- github.com — https://github.com/KnpLabs/snappy/releases/tag/v1.4.2
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →