CVE-2024-29901
What it is
The AuthKit library for Next.js provides helpers for authentication and session management using WorkOS & AuthKit with Next.js. A user can reuse an expired session by controlling the `x-workos-session` header. The vulnerability is patched in v0.4.2.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-294
- Record status
- Analyzed
Affected
- Workos authkit-nextjs < 0.4.2
Attack profile CVSS 3.1 · 4.8
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-29901.md and follow it. Check whether this project is affected by CVE-2024-29901. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01
- https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v
- https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01
- https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v
References
- https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01
- https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v
- https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01
- https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v