Advisories
For your digest

directus, @directus/api: Session is cached for OpenID and OAuth2 if `redirect` is not used

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • directus (npm): every version, before 10.13.3
  • directus (npm): from 11.0.0-rc.1, before 11.1.0
  • @directus/api (npm): every version, before 21.0.1
  • @directus/api (npm): from 22.0.0, before 22.2.0

The fix

  • directus (npm) fixed in 10.13.3

    npm
    npm install directus@10.13.3
    pnpm
    pnpm add directus@10.13.3
    yarn
    yarn add directus@10.13.3
    bun
    bun add directus@10.13.3
    Check what is installed
    npm ls directus
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency directus to 10.13.3 or the nearest later release, to fix CVE-2024-45596. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • directus (npm) fixed in 11.1.0

    npm
    npm install directus@11.1.0
    pnpm
    pnpm add directus@11.1.0
    yarn
    yarn add directus@11.1.0
    bun
    bun add directus@11.1.0
    Check what is installed
    npm ls directus
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency directus to 11.1.0 or the nearest later release, to fix CVE-2024-45596. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • @directus/api (npm) fixed in 21.0.1

    npm
    npm install "@directus/api@21.0.1"
    pnpm
    pnpm add "@directus/api@21.0.1"
    yarn
    yarn add "@directus/api@21.0.1"
    bun
    bun add "@directus/api@21.0.1"
    Check what is installed
    npm ls @directus/api
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency @directus/api to 21.0.1 or the nearest later release, to fix CVE-2024-45596. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • @directus/api (npm) fixed in 22.2.0

    npm
    npm install "@directus/api@22.2.0"
    pnpm
    pnpm add "@directus/api@22.2.0"
    yarn
    yarn add "@directus/api@22.2.0"
    bun
    bun add "@directus/api@22.2.0"
    Check what is installed
    npm ls @directus/api
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency @directus/api to 22.2.0 or the nearest later release, to fix CVE-2024-45596. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".