logo

CVE-2019-10790 taffy

Package

Manager: npm
Name: taffy
Vulnerable Version: >=0 <=2.6.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00449 pctl0.62702

Details

TaffyDB can allow access to any data items in the DB 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 package `taffydb` are not maintained.

Metadata

Created: 2020-02-19T16:43:42Z
Modified: 2023-01-30T19:22:17Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-mxhp-79qh-mcx6/GHSA-mxhp-79qh-mcx6.json
CWE IDs: ["CWE-20", "CWE-668"]
Alternative ID: GHSA-mxhp-79qh-mcx6
Finding: F184
Auto approve: 1