VDB
Sign up
MEDIUM5.9

GHSA-325j-24f4-qv5x

Regular Expression Denial of Service in ssri

Quick fix

GHSA-325j-24f4-qv5x — ssri: upgrade to the fixed version with the command below.

npm install ssri@5.2.2

Details

Version of `ssri` prior to 5.2.2 are vulnerable to regular expression denial of service (ReDoS) when using strict mode.

## Recommendation

Update to version 5.2.2 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ssri
Introduced in: 0Fixed in: 5.2.2
Fixnpm install ssri@5.2.2

References