Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. remult
  4. ›
  5. CVE-2023-35167

CVE-2023-35167: Improper Access Control

June 23, 2023 (updated July 5, 2023)

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.

References

  • github.com/remult/remult/commit/6892ae97134126d8710ef7302bb2fc37730994c5
  • github.com/remult/remult/releases/tag/v0.20.6
  • github.com/remult/remult/security/advisories/GHSA-7hh3-3x64-v2g9
  • nvd.nist.gov/vuln/detail/CVE-2023-35167

Code Behaviors & Features

Detect and mitigate CVE-2023-35167 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.20.6

Fixed versions

  • 0.20.6

Solution

Upgrade to version 0.20.6 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

npm/remult/CVE-2023-35167.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.