SecurityContext

CVE-2019-10790: taffydb - Prototype Pollution

  • Cve: CVE-2019-10790
  • Name: taffydb - Prototype Pollution
  • 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.
  • Impact: Attackers can access any data items in the database by forging internal indexes, leading to unauthorized data disclosure.
  • Remediation: Update to the latest version of taffydb that addresses this issue or apply patches to prevent index forging.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control user input
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01861
  • Epss percentile: 0.79794
  • Assignee: [email protected]
  • Published at: 2020-02-17T20:15:10Z
  • Age in days: 2472
  • Modified at: 2026-06-17T02:11:40Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-10790
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-668Exposure of Resource to Wrong Sphere

Public exploits

UrlSourceAdded date
https://snyk.io/vuln/SNYK-JS-TAFFY-546521nvd2020-02-17

References

UrlSourceTags
https://snyk.io/vuln/SNYK-JS-TAFFY-546521nvdExploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-TAFFYDB-2992450nvd

Products

ProductAffectedPlatform boundSourcesUrl
taffydb:taffy<= 2.6.2nonvd/v1/products/taffydb/taffy

Index

  • Repositories: 20
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-02-17
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts