Advisory

GHSA-hxwc-5vw9-2w4w

Also known as: None

Summary

NoSQL Injection in loopback-connector-mongodb

Details

Versions of loopback-connector-mongodb prior to 3.6.0 are vulnerable to NoSQL Injection. Filters passed to the database query are not properly sanitized which leads to execution of code on the database driver and data leak.

Recommendation

Upgrade to version 3.6.0 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-02 15:52 UTC
Modified
2021-09-27 15:13 UTC

Affected packages and fixes

loopback-connector-mongodb

npm · All systems

Affected

  • introduced 0, fixed 3.6.0 (semver)

Fixed versions

3.6.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences