{"id":"EUVD-2023-1733","enisaUuid":"5014120b-287d-35f7-a683-798a956d69f6","description":"Remult is a CRUD framework for full-stack TypeScript. If you used the apiPrefilter option of the `@Entity` decorator, by setting it to a function that returns a filter that prevents unauthorized access to data, an attacker who knows the `id` of an entity instance is not authorized to access, can gain read, update and delete access to it. The issue is fixed in version 0.20.6. As a workaround, set the `apiPrefilter` option to a filter object instead of a function.","datePublished":"Jun 23, 2023, 7:03:54 PM","dateUpdated":"Nov 7, 2024, 7:04:32 PM","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","references":"https://github.com/remult/remult/security/advisories/GHSA-7hh3-3x64-v2g9\nhttps://github.com/remult/remult/commit/6892ae97134126d8710ef7302bb2fc37730994c5\nhttps://github.com/remult/remult/releases/tag/v0.20.6\n","aliases":"CVE-2023-35167\nGHSA-7hh3-3x64-v2g9\n","assigner":"GitHub_M","epss":0.55,"enisaIdProduct":[{"id":"c1920780-37ff-3c13-b2e7-032b88987f3e","product":{"name":"remult","vendor":{"name":"remult"}},"product_version":"\u003c 0.20.6"}],"enisaIdVendor":[{"id":"62a7b234-1ce4-3a87-947e-89f4b228ecce","vendor":{"name":"remult"}}],"enisaIdVulnerability":[{"id":"a18d2684-609d-3444-8627-93bafee9b7d9","vulnerability":{"id":"GHSA-7hh3-3x64-v2g9","description":"When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id","datePublished":"Jun 20, 2023, 6:50:15 PM","dateUpdated":"Jun 26, 2023, 1:55:41 PM","baseScore":null,"references":"https://github.com/remult/remult/security/advisories/GHSA-7hh3-3x64-v2g9\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-35167\nhttps://github.com/remult/remult/commit/6892ae97134126d8710ef7302bb2fc37730994c5\nhttps://github.com/remult/remult\nhttps://github.com/remult/remult/releases/tag/v0.20.6\n","enisa_id":"EUVD-2023-1733\n","aliases":"CVE-2023-35167\nGHSA-7hh3-3x64-v2g9\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:32:34 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"c7470de3-3857-3294-8c1b-6d301a681247","vulnerability":{"id":"CVE-2023-35167","description":"Remult is a CRUD framework for full-stack TypeScript. If you used the apiPrefilter option of the `@Entity` decorator, by setting it to a function that returns a filter that prevents unauthorized access to data, an attacker who knows the `id` of an entity instance is not authorized to access, can gain read, update and delete access to it. The issue is fixed in version 0.20.6. As a workaround, set the `apiPrefilter` option to a filter object instead of a function.","datePublished":"Jun 23, 2023, 7:03:54 PM","dateUpdated":"Nov 7, 2024, 7:04:32 PM","status":"PUBLISHED","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","references":"https://github.com/remult/remult/security/advisories/GHSA-7hh3-3x64-v2g9\nhttps://github.com/remult/remult/commit/6892ae97134126d8710ef7302bb2fc37730994c5\nhttps://github.com/remult/remult/releases/tag/v0.20.6\n","enisa_id":"EUVD-2023-1733\n","assigner":"GitHub_M","epss":0.55,"dataProcessed":"Nov 15, 2026, 7:21:34 AM","vulnerabilityProduct":[{"id":"4c6c2687-4293-3ea6-9933-13268f7c3547","product":{"name":"remult","vendor":{"name":"remult"}},"product_version":"\u003c 0.20.6"}],"vulnerabilityVendor":[{"id":"4755a838-468c-308b-996a-ee7f5742627b","vendor":{"name":"remult"}}]}}],"enisaIdAdvisory":[]}