luniehq / lunie

Lunie is staking, simplified ✨
https://lunie.io
Apache License 2.0
279 stars 100 forks source link

CVE-2020-15366 (Medium) detected in ajv-4.11.8.tgz, ajv-6.10.2.tgz #5812

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

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

CVE-2020-15366 - Medium Severity Vulnerability

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

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: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /tmp/ws-scm/cosmos-ui/node_modules/ajv

Dependency Hierarchy: - eslint-plugin-class-property-1.1.0.tgz (Root Library) - eslint-3.19.0.tgz - table-3.8.3.tgz - :x: **ajv-4.11.8.tgz** (Vulnerable Library)

ajv-6.10.2.tgz

Another JSON Schema Validator

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

Path to dependency file: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /tmp/ws-scm/cosmos-ui/node_modules/ajv

Dependency Hierarchy: - webpack-4.39.2.tgz (Root Library) - :x: **ajv-6.10.2.tgz** (Vulnerable Library)

Found in base branch: develop

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

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.