Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVtcnItcmdwNi14NGdy
Command Injection in marsdb
All versions of marsdb
are vulnerable to Command Injection. In the DocumentMatcher
class, selectors on $where
clauses are passed to a Function constructor unsanitized. This allows attackers to run arbitrary commands in the system when the function is executed.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Permalink: https://github.com/advisories/GHSA-5mrr-rgp6-x4grJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVtcnItcmdwNi14NGdy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: 9 months ago
Identifiers: GHSA-5mrr-rgp6-x4gr
References:
- https://github.com/bkimminich/juice-shop/issues/1173
- https://www.npmjs.com/advisories/1122
- https://github.com/advisories/GHSA-5mrr-rgp6-x4gr
Affected Packages
npm:marsdb
Versions: >= 0.0.0No known fixed version