URI.js is a Javascript URL mutation library. Before version 1.19.9, whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly. This issue has been patched in version 1.19.9. Removing leading whitespace from values before passing them to URI.parse can be used as a workaround.
CVE-2022-24723 - Medium Severity Vulnerability
Vulnerable Library - urijs-1.19.0.tgz
URI.js is a Javascript library for working with URLs.
Library home page: https://registry.npmjs.org/urijs/-/urijs-1.19.0.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) - :x: **urijs-1.19.0.tgz** (Vulnerable Library)
Found in HEAD commit: bb7465065dfeed9f49bb99b6901ab933563af739
Found in base branch: develop
Vulnerability Details
URI.js is a Javascript URL mutation library. Before version 1.19.9, whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly. This issue has been patched in version 1.19.9. Removing leading whitespace from values before passing them to URI.parse can be used as a workaround.
Publish Date: 2022-03-03
URL: CVE-2022-24723
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: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f
Release Date: 2022-03-03
Fix Resolution (urijs): 1.19.9
Direct dependency fix Resolution (selenium-standalone): 6.14.1
Step up your Open Source Security Game with Mend here