CVE-2018-3749: Improper Input Validation in Deap

deap Updated 02 Oct 2025

Summary

14/05/2022
Yes i
Critical
9.8

CVE-2018-3749: Improper Input Validation in Deap. Affects deap versions < 1.0.1. Fixed in 1.0.1. 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

Deap is an npm package that provides utilities for working with objects in JavaScript. It allows users to manipulate and modify object properties. However, versions prior to 1.0.1 of the deap module contain a vulnerability that can be exploited by an attacker to modify the prototype of the Object. This vulnerability arises when the attacker can control part of the structure passed to the utilities function. By adding or modifying properties, the attacker can impact all objects and potentially execute arbitrary code.

Vulnerability Detail

The vulnerability in deap arises from improper input validation in the utilities function. When an attacker can control part of the structure passed to this function, they can modify the prototype of the Object. This allows them to add or modify properties that will exist on all objects. The impact of this vulnerability can be severe, as it enables an attacker to execute arbitrary code and potentially gain unauthorized access or manipulate data within the affected application.

How To Fix

Latest published version: 1.0.1 as of 23 Oct 2026

npm install deap@1.0.1

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is crucial to update the deap package to the fixed version as soon as possible.

Conclusion

The vulnerability in deap can be severe, as it allows an attacker to execute arbitrary code and potentially gain unauthorized access or manipulate data. It is crucial to update the deap package to version 1.0.1 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for deap →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code and potentially gain unauthorized access or manipulate data within the affected application.

To fix this vulnerability, update the deap package to version 1.0.1 or later.

There is no specific workaround available. It is recommended to update the package to the fixed version.

Yes, this vulnerability can be exploited remotely if the affected application is exposed to the internet.

There are no known instances of this vulnerability being exploited in the wild.

Related vulnerabilities

Recent vulnerabilities recorded for deap.

How To Fix

Latest published version: 1.0.1 as of 23 Oct 2026

npm install deap@1.0.1

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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