uniquelyparticular / shipengine-request

A Particularly minimal ShipEngine API request library for Node.
https://uniquelyparticular.com
MIT License
1 stars 1 forks source link

CVE-2020-15366 (Medium) detected in ajv-5.5.2.tgz, ajv-6.10.0.tgz - autoclosed #112

Closed mend-bolt-for-github[bot] closed 1 year ago

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

CVE-2020-15366 - Medium Severity Vulnerability

Vulnerable Libraries - ajv-5.5.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: /package.json

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

Dependency Hierarchy: - semantic-release-15.14.0.tgz (Root Library) - npm-5.1.7.tgz - npm-6.9.0.tgz - request-2.88.0.tgz - har-validator-5.1.0.tgz - :x: **ajv-5.5.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

Dependency Hierarchy: - jest-24.8.0.tgz (Root Library) - jest-cli-24.8.0.tgz - jest-config-24.8.0.tgz - jest-environment-jsdom-24.8.0.tgz - jsdom-11.12.0.tgz - request-2.88.0.tgz - har-validator-5.1.3.tgz - :x: **ajv-6.10.0.tgz** (Vulnerable Library)

Found in HEAD commit: 9fcea6cad97d59393155a130bd746b21aa833b23

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

Release Date: 2020-07-15

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (semantic-release): 16.0.0

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (jest): 24.9.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 year 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.