GHSA-mxhp-79qh-mcx6

Suggest an improvement
Source
https://github.com/advisories/GHSA-mxhp-79qh-mcx6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-mxhp-79qh-mcx6/GHSA-mxhp-79qh-mcx6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mxhp-79qh-mcx6
Aliases
Published
2020-02-19T16:43:42Z
Modified
2025-01-14T07:14:23.149634Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
TaffyDB can allow access to any data items in the DB
Details

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.

Database specific
{
    "nvd_published_at": "2020-02-17T20:15:00Z",
    "github_reviewed_at": "2020-02-18T20:15:03Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-20",
        "CWE-668"
    ],
    "github_reviewed": true
}
References

Affected packages

npm / taffy

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.6.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-mxhp-79qh-mcx6/GHSA-mxhp-79qh-mcx6.json"

npm / taffydb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.7.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-mxhp-79qh-mcx6/GHSA-mxhp-79qh-mcx6.json"