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.
Remediation
References
https://security.snyk.io/vuln/SNYK-JS-TAFFYDB-2992450
https://snyk.io/vuln/SNYK-JS-TAFFY-546521
Related Vulnerabilities
CVE-2010-3863 Vulnerability in maven package org.jsecurity:jsecurity
CVE-2022-25898 Vulnerability in npm package jsrsasign
CVE-2023-29216 Vulnerability in maven package org.apache.linkis:linkis-engineplugin-jdbc
CVE-2018-13339 Vulnerability in npm package angular-redactor
CVE-2023-24057 Vulnerability in maven package ca.uhn.hapi.fhir:org.hl7.fhir.r5