uniquelyparticular / serverless-oauth

A Particularly minimal pluggable OAuth implementation using Serverless.
https://uniquelyparticular.com
MIT License
1 stars 2 forks source link

WS-2020-0180 (High) detected in npm-user-validate-1.0.0.tgz #85

Open mend-bolt-for-github[bot] opened 4 years ago

mend-bolt-for-github[bot] commented 4 years ago

WS-2020-0180 - High Severity Vulnerability

Vulnerable Library - npm-user-validate-1.0.0.tgz

User validations for npm

Library home page: https://registry.npmjs.org/npm-user-validate/-/npm-user-validate-1.0.0.tgz

Path to dependency file: /generic-oauth/package.json

Path to vulnerable library: /tmp/git/generic-oauth/node_modules/npm/node_modules/npm-user-validate/package.json

Dependency Hierarchy: - semantic-release-15.13.14.tgz (Root Library) - npm-5.1.7.tgz - npm-6.9.0.tgz - :x: **npm-user-validate-1.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 251cf33dfb32e3b85cd274fac0c15f5697ed126f

Found in base branch: master

Vulnerability Details

The package npm-user-validate prior to version 1.0.1 is vulnerable to REDoS. The regex that validates a user's email took exponentially longer to process input strings that begin with the '@' character.

Publish Date: 2020-10-16

URL: WS-2020-0180

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-xgh6-85xh-479p

Release Date: 2020-10-16

Fix Resolution (npm-user-validate): 1.0.1

Direct dependency fix Resolution (semantic-release): 15.13.15


Step up your Open Source Security Game with Mend here