Quick answers
- Is CVE-2022-37257 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-37257 being exploited in the wild.
- How severe is CVE-2022-37257?
- Low severity, with a CVSS score of 3.1, published 16 September 2022.
- Which products and versions are affected?
- steal (npm) SEMVER:introduced=0,last_affected=2.3.0.
- Is there a fix for CVE-2022-37257?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2022-37257 attacked?
- It is attacked over the network.
- Am I affected by CVE-2022-37257?
- Check whether you run steal (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
This is a prototype pollution vulnerability (CWE-1321) in the convertLater function within npm-convert.js. The vulnerable component fails to properly validate the requestedVersion variable before using it in object assignment operations. The attack requires no authentication and is network-reachable if the application processes user-controlled version inputs. Successful exploitation pollutes the Object prototype, which can lead to arbitrary code execution or denial of service depending on how the polluted properties are leveraged by the application. All versions up to 2.3.0 are affected.
Affected products
- stealjs steal up to 2.3.0
Identifiers
- CVE-2022-37257
- GHSA-93q5-3xpc-8vg3
Timeline
- 2022-09-16: disclosed
- 2022-09-15: other: NVD published