org.webjars.npm:jasmine-core@2.3.0 vulnerabilities

  • latest version

    5.1.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    9 months ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:jasmine-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Regular Expression Denial of Service (ReDoS)

org.webjars.npm:jasmine-core is a Behavior Driven Development testing framework for JavaScript.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). It used a regular expression (^\s*function\s*(\w*)\s*\() in order to parse JS toString output on a function to get a function name. This can cause an impact of about 10 seconds matching time for data 64K characters long.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade org.webjars.npm:jasmine-core to version 3.1.0 or higher.

[,3.1.0)