CVE-2023-35167
published medium CVSS 3.1 · 5.0When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remult | — | remult< 0.20.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remult | remult | < 0.20.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-284 CWE-284: Improper Access Control
References
3Provider assertions
3GitHub_M · cna
When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b315c5e5e95274b4fc02f8a0037ad1f6e6e636a5863f42aea5f1ead3acf355db
- Ingested
- 23 Sep 2026, 08:09:41 UTC
- Source record
- Official CVE record