CVE-2021-23507
Skratchdot Object-path-set vulnerability
The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908
Affected products
Object-path-set. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Skratchdot Object-path-set runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761 · Patch
- snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation/ · Third Party Advisory
- snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576 · Exploit
- github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.
- nvd.nist.gov/vuln/detail/CVE-2021-23507
- cve.org/CVERecord?id=CVE-2021-23507
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.