CVE-2019-10790

Exposure of Resource to Wrong Sphere in npm/taffydb

Identifiers

GHSA-mxhp-79qh-mcx6, CVE-2019-10790

Package Slug

npm/taffydb

Vulnerability

Exposure of Resource to Wrong Sphere

Description

taffy through 2.6.2 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.

Affected Versions

All versions up to 2.7.3

Solution

Unfortunately, there is no solution available yet.

Last Modified

2023-01-31

source