Open mend-bolt-for-github[bot] opened 2 years ago
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2020-15366 - Medium Severity Vulnerability
Vulnerable Libraries - ajv-5.5.2.tgz, ajv-6.5.5.tgz, ajv-6.10.2.tgz, ajv-6.10.0.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: /aws-node-twitter-joke-bot/package.json
Path to vulnerable library: /aws-node-twitter-joke-bot/node_modules/ajv/package.json,/aws-node-oauth-dropbox-api/node_modules/ajv/package.json,/aws-node-github-check/node_modules/ajv/package.json,/aws-node-signed-uploads/node_modules/ajv/package.json
Dependency Hierarchy: - twitter-1.7.1.tgz (Root Library) - request-2.88.0.tgz - har-validator-5.1.0.tgz - :x: **ajv-5.5.2.tgz** (Vulnerable Library)
ajv-6.5.5.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-6.5.5.tgz
Path to dependency file: /aws-node-github-check/package.json
Path to vulnerable library: /aws-node-github-check/node_modules/schema-utils/node_modules/ajv/package.json,/aws-node-github-check/node_modules/webpack/node_modules/ajv/package.json
Dependency Hierarchy: - webpack-4.25.1.tgz (Root Library) - :x: **ajv-6.5.5.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: /aws-node-typescript-kinesis/package.json
Path to vulnerable library: /aws-node-typescript-kinesis/node_modules/ajv/package.json,/aws-node-typescript-apollo-lambda/node_modules/ajv/package.json,/aws-node-typescript-sqs-standard/node_modules/ajv/package.json
Dependency Hierarchy: - eslint-6.6.0.tgz (Root Library) - :x: **ajv-6.10.2.tgz** (Vulnerable Library)
ajv-6.10.0.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/ajv/package.json,/aws-node-fullstack/frontend/node_modules/ajv/package.json
Dependency Hierarchy: - eslint-5.15.3.tgz (Root Library) - :x: **ajv-6.10.0.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
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 (webpack): 4.26.0
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (eslint): 6.7.0
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (eslint): 5.16.0
Step up your Open Source Security Game with Mend here