CVE-2018-3784: Code Injection in cryo

cryo Updated 02 Oct 2025

Summary

21/08/2018
No i
Critical
9.8

CVE-2018-3784: Code Injection in cryo. Affects cryo versions < 0.0.6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The cryo package is an npm module used for serialization and deserialization of JavaScript objects. It provides a way to freeze and thaw objects, allowing them to be stored or transmitted. The package is vulnerable to code injection due to an insecure implementation of deserialization.

Vulnerability Detail

The vulnerability in cryo allows an attacker to inject arbitrary code during the deserialization process. This can lead to remote code execution, enabling the attacker to execute malicious code on the target system. The vulnerability arises from the insecure handling of serialized objects, allowing the execution of arbitrary functions. An attacker can craft a specially crafted serialized object that includes malicious functions, which will be executed when the object is deserialized.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no fix available, a possible workaround is to avoid using the cryo package altogether and switch to a different serialization and deserialization module that has been audited for security vulnerabilities.

Conclusion

The cryo package is vulnerable to code injection due to an insecure implementation of deserialization. This vulnerability can lead to remote code execution and unauthorized access to sensitive information. Currently, there is no fix available, so it is advised to use an alternative module and implement additional security measures. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for cryo →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code on the target system, potentially leading to remote code execution and unauthorized access to sensitive information.

Yes, all versions of cryo up to and including version 0.0.6 are vulnerable to this code injection vulnerability.

There is no known public exploit for this vulnerability at the moment. However, it is important to address the vulnerability to prevent potential future exploits.

Currently, there is no timeline for a fix. It is recommended to use an alternative module until a fix is made available.

To protect your application, it is recommended to switch to a different serialization and deserialization module that has been audited for security vulnerabilities. Additionally, implementing input validation and sanitization can help prevent code injection attacks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback