Malicious Package in mysql-koa

mysql-koa Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-x45v-pvpg-hcrh: Malicious Package in mysql-koa. Affects mysql-koa 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

mysql-koa is an npm package used for interacting with MySQL databases in Koa applications. It provides a set of functions and utilities to simplify database operations. However, a specific version of mysql-koa (0.0.0) has been found to contain malicious code.

Vulnerability Detail

The malicious package uploaded system information such as the operating system and hostname to a remote server. This unauthorized data collection can lead to privacy breaches and potential misuse of sensitive information. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

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 →

Conclusion

The mysql-koa package has been found to contain malicious code that uploads system information to a remote server. To protect your system and data, it is recommended to remove the package from your environment and ensure the use of secure and trusted dependencies. Regularly monitoring for security advisories and following best practices can help prevent similar vulnerabilities in the future. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for mysql-koa →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

The malicious code in the mysql-koa package can compromise the privacy and security of your system. It can collect sensitive information and send it to a remote server without your knowledge or consent. This can lead to unauthorized access, data breaches, and other malicious activities.

Yes, the recommended fix is to remove the mysql-koa package from your environment. Make sure to update your dependencies and use a secure version of the package to mitigate the risk of similar vulnerabilities in the future.

There is no specific workaround mentioned for this vulnerability. Removing the package is the best course of action to eliminate the risk.

To prevent similar vulnerabilities, it is crucial to regularly update your dependencies and monitor for security advisories. Use trusted sources for your packages and consider implementing security measures such as code reviews, vulnerability scanning, and secure coding practices.

Related vulnerabilities

Recent vulnerabilities recorded for mysql-koa.

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