{"id":"CVE-2020-5289","aliases":["CVE-2020-5289","GHSA-2mxr-89gf-rc4v"],"related":[],"kind":"vulnerability","state":"published","title":"Read permissions not enforced for client provided filter expressions in Elide http client","summary":"In Elide before 4.5.14, it 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. Resolved in Elide 4.5.14 and greater.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Elide before 4.5.14, it 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. Resolved in Elide 4.5.14 and greater.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Elide versiones anteriores a 4.5.14, es posible que un adversario \"guess and check\" el valor de un campo modelo al que no tiene acceso, asumiendo que pueda leer al menos otro campo en el modelo. El adversario puede construir expresiones de filtro para un campo inaccesible para filtrar una colección. La presencia o ausencia de modelos en la colección devuelta puede ser usada para reconstruir el valor del campo inaccesible. Solucionado en Elide versiones 4.5.14 y superiores.","source":"nvd"}],"published":"2020-03-30T20:09:58.000Z","modified":"2026-07-08T05:59:47.074Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-552"],"affected":[{"ranges":[{"version":"< 4.5.14","status":"affected"}],"vendor":"yahoo","product":"elide","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.5.14"}],"ecosystem":"Maven","package":"com.yahoo.elide:elide-core","purl":"pkg:maven/com.yahoo.elide/elide-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.5.14"}],"vendor":"elide","product":"elide","cpe":"cpe:2.3:a:elide:elide:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/yahoo/elide/security/advisories/GHSA-2mxr-89gf-rc4v","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/yahoo/elide/pull/1236","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/yahoo/elide/pull/1236/commits/a985f0f9c448aabe70bc904337096399de4576dc","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5289","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5289","url":"https://www.cve.org/CVERecord?id=CVE-2020-5289","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:09.123Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2mxr-89gf-rc4v","url":"https://github.com/advisories/GHSA-2mxr-89gf-rc4v","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:47.074Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5289","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5289","licence":"Public domain","modified":"2026-06-17T03:21:12.623Z"}],"updatedAt":"2026-11-25T22:57:51.714Z","epss":{"score":0.01251,"percentile":0.70245,"date":"2026-12-01T12:00:22.000Z"}}