CVE-2019-10790

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:taffydb:taffy:*:*:*:*:*:node.js:*:*

History

17 Mar 2023, 18:15

Type Values Removed Values Added
References
  • (MISC) https://security.snyk.io/vuln/SNYK-JS-TAFFYDB-2992450 -
CWE CWE-20 CWE-668
Summary 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. 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.

Information

Published : 2020-02-17 20:15

Updated : 2023-12-10 13:13


NVD link : CVE-2019-10790

Mitre link : CVE-2019-10790

CVE.ORG link : CVE-2019-10790


JSON object : View

Products Affected

taffydb

  • taffy
CWE
CWE-668

Exposure of Resource to Wrong Sphere