Bug 2389970 (CVE-2019-10790) - CVE-2019-10790 taffy: taffydb: Internal Property Tampering
Summary: CVE-2019-10790 taffy: taffydb: Internal Property Tampering
Keywords:
Status: NEW
Alias: CVE-2019-10790
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2389971 2389972 2389973 2389974 2393370 2393372
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-20 22:41 UTC by OSIDB Bzimport
Modified: 2025-09-17 16:41 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-20 22:41:48 UTC
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.

Comment 1 Sage McTaggart 2025-09-08 19:20:27 UTC
sagemct:ceph7srcgit$ grep -ir taffydb
thrift/thrift/thrift-0.15.0/package-lock.json:        "taffydb": "2.6.2",
thrift/thrift/thrift-0.15.0/package-lock.json:    "taffydb": {
thrift/thrift/thrift-0.15.0/package-lock.json:      "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",
thrift/thrift/thrift-0.15.0/lib/js/package-lock.json:        "taffydb": "2.6.2",
thrift/thrift/thrift-0.15.0/lib/js/package-lock.json:    "taffydb": {
thrift/thrift/thrift-0.15.0/lib/js/package-lock.json:      "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",
thrift/thrift/thrift-0.15.0/lib/ts/package-lock.json:        "taffydb": "2.6.2",
thrift/thrift/thrift-0.15.0/lib/ts/package-lock.json:    "taffydb": {
thrift/thrift/thrift-0.15.0/lib/ts/package-lock.json:      "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",


Note You need to log in before you can comment on or make changes to this bug.