react-form-controls@1.0.11

Vulnerabilities 2 via 2 paths
Dependencies 642
Source npm
Package react-form-controls

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 1
Status
  • 2
  • 0
  • 0
high severity

Information Exposure

  • Vulnerable module: webpack-dev-server
  • Introduced through: webpack-dev-server@2.11.5

Detailed paths

  • Introduced through: react-form-controls@1.0.11 webpack-dev-server@2.11.5
    Remediation: Upgrade to webpack-dev-server@3.1.11.

Overview

webpack-dev-server Uses webpack with a development server that provides live reloading. It should be used for development only.

Affected versions of this package are vulnerable to Information Exposure. The origin of requests is not checked by the WebSocket server, which is used for HMR. A malicious user could receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

Remediation

Upgrade webpack-dev-server to version 3.1.11 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: mem
  • Introduced through: webpack@3.12.0

Detailed paths

  • Introduced through: react-form-controls@1.0.11 webpack@3.12.0 yargs@8.0.2 os-locale@2.1.0 mem@1.1.0
    Remediation: Upgrade to webpack@4.0.0.

Overview

mem is an optimization used to speed up consecutive function calls by caching the result of calls with identical input.

Affected versions of this package are vulnerable to Denial of Service (DoS). Old results were deleted from the cache and could cause a memory leak.

details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade mem to version 4.0.0 or higher.

References