1.6.27
8 months ago
3 hours ago
Known vulnerabilities in the @better-auth/scim package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
@better-auth/scim is a SCIM plugin for Better Auth Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via SCIM token issuance and user resolution in the SCIM routes. An authenticated user can act on SCIM-managed accounts owned by another provider namespace by minting or using a SCIM token whose provider ID matches an existing SSO, SAML, OIDC, OAuth, or social provider ID. This lets the attacker list, update, or delete users they do not own, which can lead to account takeover, user deletion, and loss of access for affected users. Notes
Workarounds
How to fix Authorization Bypass Through User-Controlled Key? Upgrade | <1.6.22>=1.7.0-beta.0 <1.7.0-beta.10 |
@better-auth/scim is a SCIM plugin for Better Auth Affected versions of this package are vulnerable to Missing Authorization in the management of non-organization SCIM providers when owner binding is not enforced. An attacker can gain unauthorized access to another user's provider, allowing them to read metadata, list connections, regenerate SCIM bearer tokens (invalidating the legitimate user's token), authenticate to SCIM API routes, manage provisioned users, and delete provider connections by sending crafted requests to the management endpoints. Note: This is only exploitable if the plugin is configured with its default ownership settings, non-organization providers are used, and there is more than one authenticated user in the application. How to fix Missing Authorization? Upgrade | >=1.5.0 <1.6.11 |
@better-auth/scim is a SCIM plugin for Better Auth Affected versions of this package are vulnerable to Operation on a Resource after Expiration or Release in the Note: This is only exploitable if How to fix Operation on a Resource after Expiration or Release? Upgrade | >=1.6.0 <1.6.11 |