Every CVE Search/ Get API key

CVE-2017-16046

Withdrawn Advisory: mariadb was malware

7.5 High

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.12%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2017-16046
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02
CVE List No score

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

Record
CVE-2017-16046
Weakness
CWE-506
Updated
2026-11-02
EUVDEUVD-2018-0247 No score

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

Record
EUVD-2018-0247
Updated
2026-11-03
GitHub AdvisoriesGHSA-85fq-56wq-gmcf 7.5

Withdrawn Advisory: mariadb was malware

Withdrawn Advisory

This advisory has been withdrawn because MariaDB now owns https://www.npmjs.com/package/mariadb and the package is no longer malicious. This link is maintained to preserve external references.

Original Description

The mariadb package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this package is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-85fq-56wq-gmcf
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02
OSVGHSA-85fq-56wq-gmcf 7.5

Withdrawn Advisory: mariadb was malware

Withdrawn Advisory

This advisory has been withdrawn because MariaDB now owns https://www.npmjs.com/package/mariadb and the package is no longer malicious. This link is maintained to preserve external references.

Original Description

The mariadb package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this package is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-85fq-56wq-gmcf
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16046 is a high vulnerability (CVSS 7.5) in Mariadb, published June 4, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.12%, the 66th percentile. No source names a fixed version.

References

MoveEnter Open