Malicious code in react-circular-pick (npm)
Summary
MAL-2024-2930: Malicious code in react-circular-pick (npm). Affects react-circular-pick versions 2.2.1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
React-circular-pick is an npm package that provides circular pickers for React applications. It allows users to select values from a circular range. The package is widely used in various React projects. However, a recent vulnerability has been discovered in version 2.2.1 of react-circular-pick.
Vulnerability Detail
The vulnerability, identified as MAL-2024-2930, involves the presence of malicious code in the react-circular-pick package. The code was injected into version 2.2.1 of the package and can potentially lead to security breaches and unauthorized access to user data. The origin of the malicious code is currently under investigation. Users who have installed or are using react-circular-pick version 2.2.1 are at risk.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-circular-pick
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
Currently, there is no known workaround for this vulnerability. It is crucial to update to a secure version of react-circular-pick as soon as possible.
Conclusion
React-circular-pick version 2.2.1 has been found to contain malicious code, posing a significant security risk to applications utilizing this package. Users are strongly advised to update to a secure version beyond 2.2.1 and review their codebase for any other potential security issues. Prompt action is necessary to mitigate the risk of unauthorized access and data breaches.
See every vulnerability recorded for react-circular-pick →
FAQ
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.
The presence of malicious code in react-circular-pick can lead to various security risks, such as unauthorized access to user data, data breaches, and potential compromise of the entire application. It is crucial to address this vulnerability promptly to mitigate these risks.
No, only version 2.2.1 of react-circular-pick is known to be affected by this vulnerability. It is recommended to update to a secure version beyond 2.2.1 to ensure the vulnerability is addressed.
This vulnerability was discovered by ReversingLabs, a cybersecurity company specializing in threat intelligence and malware analysis.
At the time of this report, there is no evidence of exploitation in the wild. However, it is crucial to address this vulnerability promptly to prevent any potential exploitation.