CVE-2023-35167

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-35167
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-35167.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-35167
Aliases
Published
2023-06-23T19:03:54.753Z
Modified
2025-11-29T14:20:00.087758Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35167.json"
}
References

Affected packages

Git / github.com/remult/remult

Affected ranges

Type
GIT
Repo
https://github.com/remult/remult
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.15.0

v.*

v.0.18.0

v0.*

v0.10.1
v0.10.10
v0.10.11
v0.10.12
v0.10.13
v0.10.14
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.1
v0.11.2
v0.11.3
v0.11.4
v0.12.1
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.12.7
v0.12.8
v0.12.9
v0.13.1
v0.13.10
v0.13.11
v0.13.12
v0.13.13
v0.13.14
v0.13.15
v0.13.16
v0.13.17
v0.13.18
v0.13.19
v0.13.2
v0.13.20
v0.13.21
v0.13.22
v0.13.23
v0.13.24
v0.13.25
v0.13.26
v0.13.27
v0.13.28
v0.13.29
v0.13.3
v0.13.30
v0.13.31
v0.13.4
v0.13.5
v0.13.6
v0.13.7
v0.13.8
v0.13.9
v0.14.1
v0.14.10
v0.14.11
v0.14.12
v0.14.13
v0.14.14
v0.14.15
v0.14.16
v0.14.17
v0.14.18
v0.14.19
v0.14.2
v0.14.20
v0.14.21
v0.14.22
v0.14.23
v0.14.24
v0.14.25
v0.14.26
v0.14.27
v0.14.28
v0.14.29
v0.14.3
v0.14.30
v0.14.31
v0.14.32
v0.14.33
v0.14.34
v0.14.35
v0.14.4
v0.14.5
v0.14.6
v0.14.7
v0.14.8
v0.14.9
v0.15.0
v0.15.0-rc.1
v0.15.1
v0.15.2
v0.15.3
v0.15.4
v0.15.5-exp.0
v0.15.5-exp.1
v0.15.5-exp.2
v0.16.0
v0.16.0-exp.1
v0.16.0-exp.10
v0.16.0-exp.11
v0.16.0-exp.12
v0.16.0-exp.13
v0.16.0-exp.18
v0.16.0-exp.19
v0.16.0-exp.2
v0.16.0-exp.3
v0.16.0-exp.4
v0.16.0-exp.5
v0.16.0-exp.6
v0.16.0-exp.7
v0.16.0-exp.8
v0.16.0-exp.9
v0.16.1
v0.16.1-exp.0
v0.16.2
v0.16.2-exp.0
v0.16.2-exp.1
v0.16.3
v0.16.3-exp.0
v0.16.3-exp.1
v0.16.3-exp.2
v0.16.3-exp.3
v0.16.3-exp.4
v0.16.4
v0.16.5
v0.17.0
v0.17.0-exp.1
v0.17.0-exp.10
v0.17.0-exp.2
v0.17.0-exp.3
v0.17.0-exp.4
v0.17.0-exp.5
v0.17.0-exp.6
v0.17.0-exp.7
v0.17.0-exp.8
v0.17.0-exp.9
v0.17.1
v0.17.2
v0.17.3
v0.18.1
v0.18.1-exp.0
v0.18.1-exp.1
v0.18.1-exp.10
v0.18.1-exp.11
v0.18.1-exp.12
v0.18.1-exp.13
v0.18.1-exp.14
v0.18.1-exp.15
v0.18.1-exp.16
v0.18.1-exp.17
v0.18.1-exp.18
v0.18.1-exp.19
v0.18.1-exp.2
v0.18.1-exp.20
v0.18.1-exp.21
v0.18.1-exp.22
v0.18.1-exp.23
v0.18.1-exp.24
v0.18.1-exp.25
v0.18.1-exp.26
v0.18.1-exp.27
v0.18.1-exp.28
v0.18.1-exp.29
v0.18.1-exp.3
v0.18.1-exp.30
v0.18.1-exp.31
v0.18.1-exp.32
v0.18.1-exp.33
v0.18.1-exp.34
v0.18.1-exp.35
v0.18.1-exp.37
v0.18.1-exp.38
v0.18.1-exp.39
v0.18.1-exp.40
v0.18.1-exp.41
v0.18.1-exp.5
v0.18.1-exp.6
v0.18.1-exp.7
v0.18.1-exp.8
v0.18.1-exp.9
v0.19.0
v0.19.0-exp.1
v0.19.0-exp.2
v0.19.0-exp.3
v0.19.1
v0.19.2
v0.19.3
v0.20.0
v0.20.0-exp.1
v0.20.0-exp.10
v0.20.0-exp.11
v0.20.0-exp.12
v0.20.0-exp.13
v0.20.0-exp.14
v0.20.0-exp.15
v0.20.0-exp.16
v0.20.0-exp.17
v0.20.0-exp.18
v0.20.0-exp.19
v0.20.0-exp.2
v0.20.0-exp.20
v0.20.0-exp.3
v0.20.0-exp.4
v0.20.0-exp.5
v0.20.0-exp.6
v0.20.0-exp.7
v0.20.0-exp.8
v0.20.0-exp.9
v0.20.1
v0.20.1-exp.0
v0.20.1-exp.1
v0.20.2
v0.20.3
v0.20.4
v0.20.5
v0.3.10
v0.3.11
v0.3.12
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.1
v0.4.10
v0.4.11
v0.4.12
v0.4.13
v0.4.14
v0.4.15
v0.4.16
v0.4.17
v0.4.18
v0.4.19
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.8.1
v0.8.2
v0.8.3
v0.9.1
v0.9.10
v0.9.11
v0.9.12
v0.9.13
v0.9.14
v0.9.15
v0.9.16
v0.9.17
v0.9.18
v0.9.19
v0.9.2
v0.9.20
v0.9.21
v0.9.22
v0.9.23
v0.9.24
v0.9.25
v0.9.26
v0.9.27
v0.9.28
v0.9.29
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9