Skip to content

CVE-2019-10790 TaffyDB can allow access to any data items in the DB

HighCVSS 7.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

Description

taffydb npm module, vulnerable in all versions up to and including 2.7.3, 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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm taffy(npm) <= 2.6.2 after 2.6.2 Fixed
npm taffydb(npm) <= 2.7.3 after 2.7.3 Fixed
taffydb taffy <= 2.6.2 after 2.6.2 Fixed

Affected products

ProductAffected versionsFixed in
npm taffy(npm) <= 2.6.2 No fix listed
npm taffydb(npm) <= 2.7.3 No fix listed
taffydb taffy <= 2.6.2 No fix listed

References