CVE-2016-10695: Insecure Download of Executable in npm-test-sqlite3-trunk

npm-test-sqlite3-trunk Updated 02 Oct 2025

Summary

01/09/2020
No i
High
Not published

CVE-2016-10695: Downloads Resources over HTTP in npm-test-sqlite3-trunk. Affects npm-test-sqlite3-trunk versions >= 0.0.0. 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

npm-test-sqlite3-trunk is an npm package that provides functionality for testing SQLite3 databases. It is commonly used in Node.js applications to perform unit tests and integration tests on SQLite3 databases. This package allows developers to easily set up and tear down test databases, making it a valuable tool for testing database-related code. However, versions of npm-test-sqlite3-trunk prior to the fix for CVE-2016-10695 are vulnerable to an insecure download of an executable over an unencrypted HTTP connection.

Vulnerability Detail

The vulnerability in npm-test-sqlite3-trunk arises from the insecure download of an executable over an unencrypted HTTP connection. This means that when the package is installed or updated, it retrieves an executable file from a remote server using an insecure connection. If an attacker has a privileged network position, they can intercept the response and replace the executable with a malicious one. When the package runs, it will execute the malicious code, potentially leading to code execution on the system running npm-test-sqlite3-trunk. This vulnerability poses a significant risk, especially in scenarios where the package is installed on a public network or where 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 only workaround is to avoid using npm-test-sqlite3-trunk. If you need similar functionality, consider using a different package that does not have this vulnerability. Here is an example of how to install a different package, 'sqlite3-test', as a workaround:

cnpm uninstall npm-test-sqlite3-trunk
cnpm install sqlite3-test

Conclusion

In conclusion, npm-test-sqlite3-trunk is vulnerable to an insecure download of an executable over an unencrypted HTTP connection. This can lead to code execution on the system running the package if an attacker intercepts the download and replaces the executable with a malicious one. The best course of action is to avoid using this package and opt for a safer alternative. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for npm-test-sqlite3-trunk →

Share this vulnerability

FAQ

npm-test-sqlite3-trunk is an npm package used for testing SQLite3 databases in Node.js applications. It provides functionality to set up and tear down test databases for unit and integration testing.

The vulnerability allows an attacker with a privileged network position to replace the downloaded executable with a malicious one. When the package runs, the malicious code can be executed, potentially leading to code execution on the system running npm-test-sqlite3-trunk.

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

The best mitigation is to avoid using npm-test-sqlite3-trunk and choose an alternative package. If you must use this package, ensure that it is not installed or updated while connected to a public network. If the package is installed on a private network, the risk of exploitation is limited to those who have compromised the network or have privileged access to the ISP.

Yes, there are alternative packages available that provide similar functionality to npm-test-sqlite3-trunk. Consider using 'sqlite3-test' as a safer alternative.

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