Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. safer-eval
  4. ›
  5. CVE-2019-10769

CVE-2019-10769: Improper Control of Generation of Code ('Code Injection')

December 11, 2019 (updated July 28, 2021)

safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.

References

  • github.com/advisories/GHSA-v63x-xc9j-hhvq
  • github.com/commenthol/safer-eval/security/advisories/GHSA-v63x-xc9j-hhvq
  • nvd.nist.gov/vuln/detail/CVE-2019-10769
  • snyk.io/vuln/SNYK-JS-SAFEREVAL-534901
  • www.npmjs.com/advisories/1428

Code Behaviors & Features

Detect and mitigate CVE-2019-10769 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.3.6

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/safer-eval/CVE-2019-10769.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.