Arbitrary Code Execution Affecting typed-function package, versions <0.10.6


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 1.72% (88th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-TYPEDFUNCTION-174139
  • published 8 Apr 2019
  • disclosed 27 Nov 2017
  • credit Masato Kinugawa

How to fix?

Upgrade typed-function to version 0.10.6 or higher.

Overview

typed-function is a library used for type checking of JavaScript functions.

Affected versions of this package are vulnerable to Arbitrary Code Execution due to the creation of a typed function with JavaScript code in the _name variable.