CVE-2018-1107 (Medium) detected in is-my-json-valid-2.17.1.tgz
Opened this issue · 0 comments
CVE-2018-1107 - Medium Severity Vulnerability
Vulnerable Library - is-my-json-valid-2.17.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.17.1.tgz
Path to dependency file: /PrestaShop/tests/E2E/package.json
Path to vulnerable library: /tests/E2E/package.json
Dependency Hierarchy:
- selenium-standalone-6.14.0.tgz (Root Library)
- request-2.79.0.tgz
- har-validator-2.0.6.tgz
- ❌ is-my-json-valid-2.17.1.tgz (Vulnerable Library)
- har-validator-2.0.6.tgz
- request-2.79.0.tgz
Found in HEAD commit: bb7465065dfeed9f49bb99b6901ab933563af739
Found in base branch: develop
Vulnerability Details
It was discovered that the is-my-json-valid JavaScript 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: 2021-03-30
URL: CVE-2018-1107
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Origin: GHSA-4hpf-3wq7-5rpr
Release Date: 2021-03-30
Fix Resolution (is-my-json-valid): 2.17.2
Direct dependency fix Resolution (selenium-standalone): 6.14.1
Step up your Open Source Security Game with Mend here