CVE-2018-3784: Code Injection in cryo
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68658%
CWE
Published
8/21/2018
Updated
9/12/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
cryo | npm | <= 0.0.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in the deserialization logic handled by Cryo.parse. The proof of concept shows serialized data containing CRYO_FUNCTION patterns being executed as code during deserialization. This indicates the library is reconstructing functions through unsafe evaluation of untrusted input. While internal implementation details aren't visible in the advisory, the entry point Cryo.parse() is unambiguously involved in the vulnerable workflow. The critical code injection occurs when processing these serialized function definitions during parsing.