Skip to content

Strapi does not verify the access or ID tokens issued during the OAuth flow

Moderate severity GitHub Reviewed Published Apr 19, 2023 to the GitHub Advisory Database • Updated Nov 8, 2023

Package

npm @strapi/plugin-users-permissions (npm)

Affected versions

>= 3.2.1, < 4.6.0

Patched versions

4.6.0

Description

Strapi 3.2.1 until 4.6.0 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the 'None' type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.

References

Published by the National Vulnerability Database Apr 19, 2023
Published to the GitHub Advisory Database Apr 19, 2023
Reviewed Apr 24, 2023
Last updated Nov 8, 2023

Severity

Moderate

EPSS score

13.774%
(96th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2023-22893

GHSA ID

GHSA-583x-23h9-f5w7

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.