CVE-2023-49210: openssl npm package vulnerable to command execution
Summary
CVE-2023-49210: openssl npm package vulnerable to command execution. Affects openssl versions < 2.0.0. 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
The openssl npm package, also known as node-openssl, is a wrapper for OpenSSL library in Node.js. It provides a convenient interface for cryptographic operations. However, the package has been deemed unnecessary by its author and lacks a clear purpose. It accepts an 'opts' argument that includes a 'verb' field, which is used for command execution. It is important to note that this vulnerability only affects products that are no longer supported by the maintainer.
Vulnerability Detail
The openssl npm package through version 2.0.0 is vulnerable to command execution. This vulnerability arises from the package's acceptance of an 'opts' argument that contains a 'verb' field. An attacker can exploit this by crafting a malicious 'opts' object to execute arbitrary commands on the system. The impact of this vulnerability can be severe, allowing unauthorized access, data manipulation, or even complete compromise of the affected system.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to update to a non-vulnerable version of the openssl package as soon as possible.
Conclusion
The openssl npm package through version 2.0.0 is vulnerable to command execution. It is crucial to update to a non-vulnerable version, such as 2.0.1, to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for openssl →
FAQ
The vulnerability affects openssl versions up to and including 2.0.0.
This vulnerability allows an attacker to execute arbitrary commands on the system, potentially leading to unauthorized access, data manipulation, or complete compromise of the affected system.
No, there are no known workarounds for this vulnerability. It is essential to update to a non-vulnerable version of the openssl package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your package-lock.json file and provides real-time alerts for open-source vulnerabilities.
For more information about this vulnerability, you can refer to the GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-75w2-qv55-x7fv/GHSA-75w2-qv55-x7fv.json
Related vulnerabilities
Recent vulnerabilities recorded for openssl.