GHSA-2q6w-rxf3-4wc9 Malicious Package in codify

Not scored Published

A malicious npm package version steals credit card and password data from web forms, requiring developers to upgrade and audit for data breaches.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is GHSA-2q6w-rxf3-4wc9?

GHSA-2q6w-rxf3-4wc9 is a vulnerability in codify, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Version 0.3.1 of codify contained malicious code. The code when executed in the browser would enumerate password, cvc, cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=

Recommendation

If version 0.3.1 of this module is found installed you will want to replace it with a version before or after 0.3.1. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

Which versions are affected by GHSA-2q6w-rxf3-4wc9?

2 open source packages ship an affected version, including codify.

PackageAffectedFixed in
codify npmAll versionsNone
codify npmAll versionsNone

How do I fix GHSA-2q6w-rxf3-4wc9?

No fix has been published for GHSA-2q6w-rxf3-4wc9 yet. Limit exposure of the affected software until one is available.

Is GHSA-2q6w-rxf3-4wc9 being exploited?

There is no known exploitation of GHSA-2q6w-rxf3-4wc9 in the wild and no public exploit code.

Sources

Is GHSA-2q6w-rxf3-4wc9 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free