Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. taffydb
  4. ›
  5. CVE-2019-10790

CVE-2019-10790: Exposure of Resource to Wrong Sphere

February 19, 2020 (updated January 30, 2023)

taffy through 2.6.2 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.

References

  • github.com/advisories/GHSA-mxhp-79qh-mcx6
  • nvd.nist.gov/vuln/detail/CVE-2019-10790
  • snyk.io/vuln/SNYK-JS-TAFFY-546521
  • www.npmjs.com/package/taffy

Code Behaviors & Features

Detect and mitigate CVE-2019-10790 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.7.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

npm/taffydb/CVE-2019-10790.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.