CVE-2022-5656: Malicious code in react-native-camera-kit-example (npm)

Summary

20/06/2022
CRITICAL
No i
Critical
Not published

MAL-2022-5656: Malicious code in react-native-camera-kit-example (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 react-native-camera-kit-example is an npm package that provides an example project for the react-native-camera-kit library. This library allows developers to easily integrate camera functionality into their React Native applications. The react-native-camera-kit-example package serves as a reference implementation and demonstration of the library's capabilities.

Vulnerability Detail

The react-native-camera-kit-example package has been found to contain malicious code. This code can compromise the security of any computer that has the package installed or running. It is advised to consider any computer with this package as fully compromised. The malicious code may grant outside entities full control of the computer, potentially exposing any secrets and keys stored on it. Removing the package does not guarantee the removal of all malicious software resulting from its installation.

How To Fix

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

npm uninstall react-native-camera-kit-example

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. It is crucial to follow the recommended steps for remediation.

Conclusion

The react-native-camera-kit-example package has been found to contain malicious code that can compromise the security of any computer it is installed on. It is crucial to follow the recommended steps for remediation, including rotating secrets and keys, removing the package, and conducting a thorough security audit. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for react-native-camera-kit-example →

Share this vulnerability

FAQ

React-native-camera-kit-example is an npm package that provides an example project for the react-native-camera-kit library, allowing developers to integrate camera functionality into their React Native applications.

The malicious code in react-native-camera-kit-example can fully compromise the security of any computer that has the package installed or running. It may grant outside entities full control of the computer, potentially exposing any secrets and keys stored on it.

If you have react-native-camera-kit-example installed, it is recommended to rotate all secrets and keys stored on the affected computer from a different, secure computer. Remove the react-native-camera-kit-example package and conduct a thorough security audit to address any potential impacts of the compromise.

Removing the react-native-camera-kit-example package does not guarantee the removal of all malicious software resulting from its installation. It is crucial to conduct a thorough security audit to identify and address any potential impacts of the compromise.

After removing react-native-camera-kit-example, it is recommended to conduct a thorough security audit to identify and address any potential impacts of the compromise. Additionally, ensure that all software and packages on the computer are up to date and regularly monitor for any suspicious activities.

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 react-native-camera-kit-example

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