LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16047: mysqljs was a malicious module published with the intent to hijack environment variables.

mysqljs was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2017-16047 concerns a malicious npm module named mysqljs. The source says it was published to hijack environment variables and has been unpublished by npm. For executives, the risk is possible exposure of application secrets if this package was installed in any build or runtime environment.

Executive priority

Prioritize investigation if Node.js applications, CI jobs, or deployment systems ever installed mysqljs. Treat confirmed presence as a potential secret-exposure incident because the package intent was credential-adjacent data theft.

Technical view

The affected component is the mysqljs node module, with all versions listed as affected. The CVE maps to CWE-506, embedded malicious code. The record provides no CVSS score, no patch details, and no confirmed active exploitation. The stated malicious behavior is environment-variable hijacking.

Likely exposure

Likely exposure is limited to Node.js projects or CI environments that installed the mysqljs npm module directly or transitively before npm unpublished it. Confirm using package manifests, lockfiles, build logs, artifact inventories, and historical dependency snapshots.

Exploitation context

The bundle does not cite KEV listing or confirmed active exploitation. The risk comes from malicious package execution in environments where secrets are stored in environment variables, such as CI/CD, cloud deployments, or application runtimes.

Researcher notes

Evidence is narrow: the CVE states malicious intent and npm unpublication, but provides no CVSS, exploit telemetry, or remediation detail. Validate presence historically, not just current manifests, because a removed malicious dependency may still have exposed secrets when installed.

Mitigation direction

  • Remove mysqljs from active dependencies and build images if present.
  • Check vendor and npm guidance for any replacement or cleanup recommendations.
  • Rotate secrets that were exposed as environment variables where the package ran.
  • Rebuild affected artifacts from clean dependencies and lockfiles.
  • Block future use of the package in dependency allowlists or policy checks.

Validation and detection

  • Search package.json and lockfiles for mysqljs entries.
  • Review CI logs and package install history for past mysqljs installs.
  • Inspect production images or deployment artifacts for bundled mysqljs code.
  • Identify environment variables available during affected builds or runtime.
  • Confirm npm audit or SCA tooling flags the malicious package.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-506: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-16047 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnemysqljs node moduleAll versionsListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-506 · source CWE mapping

Embedded Malicious Code

Embedded Malicious Code represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.