{"id":"GHSA-2mxr-89gf-rc4v","summary":"Read permissions not enforced for client provided filter expressions in Elide.","details":"### Impact\nIt is possible for an adversary to \"guess and check\" the value of a model field they do not have access to assuming they can read at least one other field in the model.  The adversary can construct filter expressions for an inaccessible field to filter a collection.  The presence or absence of models in the returned collection can be used to reconstruct the value of the inaccessible field.\n\nFor example, a User model has two fields: _name_ and _role_.  The adversary has read permissions to see the _name_ field of the User collection but not the _role_.  By constructing a filter like the one below, the adversary can determine which users have admin role by presence or absence in the returned collection:\n`filter=role==\"Admin\"`\n\n### Patches\nResolved in Elide 4.5.14 and greater.\n\n### Workarounds\nThe adversary can only access the fields if a model includes fields with different read permission levels (some less secure and some more secure).  Model security can be adjusted by restricting read permissions on existing models.\n\n### References\nFixed in https://github.com/yahoo/elide/pull/1236\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [elide](https://github.com/yahoo/elide)\n* Contact us at [spectrum](https://spectrum.chat/elide?tab=posts)","aliases":["CVE-2020-5289"],"modified":"2026-07-08T05:59:47.074103473Z","published":"2020-03-30T20:09:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-03-30T20:08:40Z","nvd_published_at":null,"cwe_ids":["CWE-285"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/yahoo/elide/security/advisories/GHSA-2mxr-89gf-rc4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5289"},{"type":"WEB","url":"https://github.com/yahoo/elide/pull/1236"},{"type":"WEB","url":"https://github.com/yahoo/elide/pull/1236/commits/a985f0f9c448aabe70bc904337096399de4576dc"}],"affected":[{"package":{"name":"com.yahoo.elide:elide-core","ecosystem":"Maven","purl":"pkg:maven/com.yahoo.elide/elide-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.14"}]}],"versions":["1.0.0.1","1.0.0.10","1.0.0.11","1.0.0.12","1.0.0.13","1.0.0.14","1.0.0.15","1.0.0.16","1.0.0.17","1.0.0.18","1.0.0.19","1.0.0.20","1.0.0.21","1.0.0.22","1.0.0.23","1.0.0.24","1.0.0.25","1.0.0.3","1.0.0.4","1.0.0.5","1.0.0.6","1.0.0.7","1.0.0.8","1.0.0.9","2.0.0","2.0.1","2.0.10","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.10","2.3.11","2.3.12","2.3.13","2.3.14","2.3.15","2.3.16","2.3.17","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.10","2.4.11","2.4.12","2.4.13","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.5.1","2.5.2","3.0.0","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.2.0","3.2.1","3.2.2","4.0-beta-1","4.0-beta-2","4.0-beta-3","4.0-beta-4","4.0-beta-5","4.0.0","4.0.1","4.0.2","4.1.0","4.2.0","4.2.1","4.2.10","4.2.11","4.2.12","4.2.14","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.3.0","4.3.1","4.3.3","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.5.1","4.5.12","4.5.13","4.5.2","4.5.3","4.5.4","4.5.6","4.5.7","4.5.8","4.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-2mxr-89gf-rc4v/GHSA-2mxr-89gf-rc4v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"}]}