Skip to content
OpenAdvisories
High · 7.5 CVE-2019-10790 EUVD-2020-0307GHSA-mxhp-79qh-mcx6

TaffyDB can allow access to any data items in the DB

Published Feb 17, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— taffy npm module All versions including 2.6.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ceph Storage 8 ceph +27 2:19.2.1-331.el9cp RHSA-2026:2711
Red Hat Ceph Storage 8 thrift +5 0.20.0-4.el9cp RHSA-2026:2711

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-centraldashboard 1.10.0-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm taffy <= 2.6.2 — GHSA-mxhp-79qh-mcx6
npm taffydb <= 2.7.3 — GHSA-mxhp-79qh-mcx6

Advisories 1

References