Malicious Code in advertising-api-javascript-client (npm)

Summary

07/08/2024
CRITICAL
No i
Critical
Not published

MAL-2024-7923: Malicious code in advertising-api-javascript-client (npm). Affected versions are not published. 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

The advertising-api-javascript-client is an npm package used for advertising purposes. It provides a JavaScript client for interacting with advertising APIs. This package is vulnerable to a malicious code injection.

Vulnerability Detail

The package advertising-api-javascript-client (npm) contains malicious code that compromises the security of any computer where it is installed or running. Once installed, the package gives full control of the computer to an outside entity, potentially leading to the exposure of sensitive information and the compromise of secrets and keys stored on that computer.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall advertising-api-javascript-client

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The advertising-api-javascript-client package (npm) contains malicious code that compromises the security of the affected computer. It is crucial to rotate all secrets and keys stored on the computer and remove the package. However, additional measures may be necessary to ensure complete removal of the malicious software.

See every vulnerability recorded for advertising-api-javascript-client →

Share this vulnerability

FAQ

The impact of this vulnerability is severe as it compromises the security of the affected computer and exposes sensitive information.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

If your computer is compromised, it is crucial to immediately rotate all secrets and keys stored on that computer from a different computer. Additionally, remove the advertising-api-javascript-client package, although it may not remove all malicious software.

Once a computer is compromised, it is recommended to rotate all secrets and keys stored on that computer. It is not advisable to rely on recovering the compromised secrets and keys.

There is no guarantee that removing the advertising-api-javascript-client package will remove all malicious software resulting from its installation. Full control of the computer may have been given to an outside entity, and additional measures may be required to ensure complete removal of the malicious software.

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

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall advertising-api-javascript-client

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

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