videojs / videojs-overlay

A video.js plugin to display simple overlays during playback.
Other
245 stars 92 forks source link

CVE-2020-15366 (Medium) detected in ajv-5.5.2.tgz, ajv-6.5.4.tgz #197

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2020-15366 - Medium Severity Vulnerability

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

ajv-5.5.2.tgz

Another JSON Schema Validator

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

Dependency Hierarchy: - node-sass-4.9.3.tgz (Root Library) - request-2.87.0.tgz - har-validator-5.0.3.tgz - :x: **ajv-5.5.2.tgz** (Vulnerable Library)

ajv-6.5.4.tgz

Another JSON Schema Validator

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

Dependency Hierarchy: - videojs-standard-8.0.2.tgz (Root Library) - eslint-5.9.0.tgz - :x: **ajv-6.5.4.tgz** (Vulnerable Library)

Found in HEAD commit: fbdf8372a96f7f26965d33fedec5089038e609dc

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

Origin: https://github.com/ajv-validator/ajv/releases/tag/v6.12.3

Release Date: 2020-07-15

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (node-sass): 4.9.4

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (videojs-standard): 8.0.3