CVE-2016-10640: Insecure Download of Resources in node-thulac

node-thulac Updated 02 Oct 2025

Summary

18/02/2019
No i
High
Not published

CVE-2016-10640: Downloads Resources over HTTP in node-thulac. Affects node-thulac versions < 2.1.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

node-thulac is an npm package that provides a tool for Chinese word segmentation. It is commonly used in natural language processing applications. This package allows users to tokenize Chinese text into words, making it easier to analyze and process. However, versions of node-thulac prior to 2.1.3 are vulnerable to an insecure download of resources over an unencrypted HTTP connection.

Vulnerability Detail

The vulnerability in node-thulac arises from the insecure download of an executable file over an unencrypted HTTP connection. This means that if an attacker has a privileged network position, they can intercept the response and replace the executable with a malicious one. As a result, when the package is used, the system running node-thulac could execute the malicious code. This vulnerability poses a significant risk, especially when connected to a public network or when an attacker has compromised the network or has privileged access to the ISP.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no patch available, the recommended workaround is to refrain from using the node-thulac package. Instead, consider using a different package that provides similar functionality and has a good security track record. By avoiding the use of node-thulac, the risk of exploitation can be effectively mitigated.

Conclusion

The node-thulac package is vulnerable to an insecure download of resources over an unencrypted HTTP connection. This can lead to code execution on the system running node-thulac if an attacker intercepts and replaces the downloaded executable. To mitigate this vulnerability, it is recommended to avoid using node-thulac and opt for a different package. Stay updated with any patches or updates released by the package maintainers. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for node-thulac →

Share this vulnerability

FAQ

node-thulac is an npm package used for Chinese word segmentation. It helps tokenize Chinese text into words for easier analysis and processing.

The vulnerability allows an attacker to replace the downloaded executable with a malicious one, potentially leading to code execution on the system running node-thulac.

No, only versions prior to 2.1.3 are affected by this vulnerability.

No, there is currently no patch available for this vulnerability.

To reduce the risk of exploitation, avoid using the node-thulac package and choose a different package if possible. If already installed on a private network, ensure it is not connected to a public network.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback