Skip to content

CVE-2018-1107 (High) detected in is-my-json-valid-2.16.1.tgz #113

Open
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2018-1107 - High Severity Vulnerability

Vulnerable Library - is-my-json-valid-2.16.1.tgz

A JSONSchema validator that uses code generation to be extremely fast

Library home page: https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz

Path to dependency file: angular/aio/yarn.lock

Path to vulnerable library: angular/aio/yarn.lock

Dependency Hierarchy:

  • eslint-3.19.0.tgz (Root Library)
    • is-my-json-valid-2.16.1.tgz (Vulnerable Library)

Found in HEAD commit: cf1f1c0344fa01406f61ff7437a72714be39b47e

Vulnerability Details

is-my-json-valid before 1.4.2 and 2.17.2 is vulnerable to ReDoS. This library used an inefficient regular expression to validate JSON fields defined to have email format. A specially crafted JSON file could cause it to consume an excessive amount of CPU time when validated.

Publish Date: 2020-07-21

URL: CVE-2018-1107

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1546357

Release Date: 2020-07-21

Fix Resolution: 1.4.2,2.17.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions