Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-bolt-for-github bot opened this issue Jan 23, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 23, 2021

CVE-2020-15366 - Medium Severity Vulnerability

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

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: /bot_variant_2/package.json

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

Dependency Hierarchy:

  • imgur-0.3.1.tgz (Root Library)
    • request-2.88.0.tgz
      • har-validator-5.1.3.tgz
        • ajv-6.10.2.tgz (Vulnerable Library)
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: /bot_variant_2/package.json

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

Dependency Hierarchy:

  • request-2.81.0.tgz (Root Library)
    • har-validator-4.2.1.tgz
      • ajv-4.11.8.tgz (Vulnerable Library)

Found in HEAD commit: 718153fcf6a7e5fa2629627b26340cb541f5621c

Found in base branch: main

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 (imgur): 0.3.2

Fix Resolution (ajv): 6.12.3

Direct dependency fix Resolution (request): 2.88.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 23, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-15366 (Medium) detected in ajv-4.11.8.tgz CVE-2020-15366 (Medium) detected in ajv-6.10.2.tgz, ajv-4.11.8.tgz Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants