Advisory

GHSA-mxhp-79qh-mcx6

Also known as: CVE-2019-10790

Summary

TaffyDB can allow access to any data items in the DB

Details

TaffyDB allows attackers to forge adding additional properties into user-input processed by taffy which can allow access to any data items in the DB. Taffy sets an internal index for each data item in its DB. However, it is found that the internal index can be forged by adding additional properties into user-input. If index is found in the query, TaffyDB will ignore other query conditions and directly return the indexed data item. Moreover, the internal index is in an easily-guessable format (e.g., T000002R000001). As such, attackers can use this vulnerability to access any data items in the DB. Note: taffy and its successor package taffydb are not maintained.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-02-19 16:43 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

taffy

npm · All systems

Affected

  • introduced 0, last affected 2.6.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

taffydb

npm · All systems

Affected

  • introduced 0, last affected 2.7.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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