Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

CVE-2020-15366 (Medium) detected in ajv-6.3.0.tgz, ajv-5.5.2.tgz #180

Open
mend-bolt-for-github bot opened this issue Aug 17, 2020 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Aug 17, 2020

CVE-2020-15366 - Medium Severity Vulnerability

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

ajv-6.3.0.tgz

Another JSON Schema Validator

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

Path to dependency file: recursos.osweekends.com/client/package.json

Path to vulnerable library: recursos.osweekends.com/client/node_modules/postcss-loader/node_modules/ajv/package.json

Dependency Hierarchy:

  • uglifyjs-webpack-plugin-1.2.4.tgz (Root Library)
    • schema-utils-0.4.5.tgz
      • ajv-6.3.0.tgz (Vulnerable Library)
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: recursos.osweekends.com/client/package.json

Path to vulnerable library: recursos.osweekends.com/client/node_modules/ajv/package.json

Dependency Hierarchy:

  • eslint-4.19.0.tgz (Root Library)
    • ajv-5.5.2.tgz (Vulnerable Library)

Found in HEAD commit: c83955b286970e6cbd3d350e89d20e99ccb6eacc

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 mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Aug 17, 2020
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-15366 (Medium) detected in multiple libraries CVE-2020-15366 (Medium) detected in ajv-6.3.0.tgz, ajv-5.5.2.tgz Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants