detect-character-encoding@0.1.0 vulnerabilities

Detect character encoding using ICU

Direct Vulnerabilities

Known vulnerabilities in the detect-character-encoding 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
  • H
Improper Control of Resources

detect-character-encoding is a Detect character encoding using ICU.

Affected versions of this package are vulnerable to Improper Control of Resources. Missing closure of charsetDetector leads to a memory leak.

How to fix Improper Control of Resources?

Upgrade detect-character-encoding to version 0.3.1 or higher.

<0.3.1
  • H
Denial of Service (DoS)

detect-character-encoding is a Detect character encoding using ICU.

Affected versions of this package are vulnerable to Denial of Service (DoS). Data matching no charset causes the Node.js process to crash.

How to fix Denial of Service (DoS)?

Upgrade detect-character-encoding to version 0.7.0 or higher.

<0.7.0