TaffyDB can allow access to any data items in the DB
High severity
GitHub Reviewed
Published
Feb 19, 2020
to the GitHub Advisory Database
•
Updated Jan 30, 2023
Description
Published by the National Vulnerability Database
Feb 17, 2020
Reviewed
Feb 18, 2020
Published to the GitHub Advisory Database
Feb 19, 2020
Last updated
Jan 30, 2023
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 packagetaffydb
are not maintained.References