vipinsun / cactus

Hyperledger Cactus is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
0 stars 1 forks source link

CVE-2020-15366 (Medium) detected in ajv-6.12.0.tgz, ajv-6.12.2.tgz - autoclosed #159

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

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

CVE-2020-15366 - Medium Severity Vulnerability

Vulnerable Libraries - ajv-6.12.0.tgz, ajv-6.12.2.tgz

ajv-6.12.0.tgz

Another JSON Schema Validator

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

Path to dependency file: cactus/packages/cactus-cockpit/package.json

Path to vulnerable library: cactus/packages/cactus-cockpit/node_modules/ajv/package.json,cactus/packages/cactus-cmd-api-server/node_modules/ajv/package.json

Dependency Hierarchy: - build-angular-0.1102.1.tgz (Root Library) - webpack-4.44.2.tgz - :x: **ajv-6.12.0.tgz** (Vulnerable Library)

ajv-6.12.2.tgz

Another JSON Schema Validator

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

Path to dependency file: cactus/packages/cactus-plugin-ledger-connector-besu/package.json

Path to vulnerable library: cactus/packages/cactus-plugin-ledger-connector-besu/node_modules/ajv/package.json

Dependency Hierarchy: - cactus-test-tooling-0.5.0.tgz (Root Library) - fabric-client-1.4.14.tgz - nano-6.4.4.tgz - request-2.88.2.tgz - har-validator-5.1.3.tgz - :x: **ajv-6.12.2.tgz** (Vulnerable Library)

Found in HEAD commit: ceec9f73fd05cfdbf0061d53c9d0c42d43e85d22

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


Step up your Open Source Security Game with WhiteSource here

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.