Improper Privilege Management Affecting @directus/api package, versions <23.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUSAPI-8660822
  • published24 Jan 2025
  • disclosed23 Jan 2025
  • creditviters

Introduced: 23 Jan 2025

NewCVE-2025-24353  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 23.1.1 or higher.

Overview

@directus/api is a real-time API and App dashboard for managing SQL database content

Affected versions of this package are vulnerable to Improper Privilege Management via the Share feature. An attacker can escalate privileges and access data or functionalities that are normally restricted by specifying an arbitrary role during the item sharing process. This is only exploitable if the instance uses the share feature and has specific roles hierarchy and fields that are not visible for certain roles.

CVSS Scores

version 4.0
version 3.1