amccool / AngularASPNETCore2WebApiAuth

Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.
https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login
0 stars 0 forks source link

CVE-2020-15366 (Medium) detected in ajv-5.5.2.tgz, ajv-4.11.8.tgz #194

Open mend-bolt-for-github[bot] opened 7 months ago

mend-bolt-for-github[bot] commented 7 months ago

CVE-2020-15366 - Medium Severity Vulnerability

Vulnerable Libraries - ajv-5.5.2.tgz, ajv-4.11.8.tgz

ajv-5.5.2.tgz

Another JSON Schema Validator

Library home page: https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz

Path to dependency file: /src/package.json

Path to vulnerable library: /src/node_modules/ajv/package.json

Dependency Hierarchy: - cli-1.6.3.tgz (Root Library) - webpack-3.10.0.tgz - :x: **ajv-5.5.2.tgz** (Vulnerable Library)

ajv-4.11.8.tgz

Another JSON Schema Validator

Library home page: https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz

Path to dependency file: /src/package.json

Path to vulnerable library: /src/node_modules/har-validator/node_modules/ajv/package.json

Dependency Hierarchy: - compiler-cli-5.1.3.tgz (Root Library) - chokidar-1.7.0.tgz - fsevents-1.1.3.tgz - node-pre-gyp-0.6.39.tgz - request-2.81.0.tgz - har-validator-4.2.1.tgz - :x: **ajv-4.11.8.tgz** (Vulnerable Library)

Found in HEAD commit: aaa0eeb0237c3fe61b491b5e658b404be0a3a83f

Found in base branch: master

Vulnerability Details

An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)

Publish Date: 2020-07-15

URL: CVE-2020-15366

CVSS 3 Score Details (5.6)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-07-15

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (@angular/cli): 8.3.29

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (@angular/compiler-cli): 5.2.0


Step up your Open Source Security Game with Mend here