JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.

Project Subscriptions

Vendors Products
Ceph Storage Subscribe
Container Native Virtualization Subscribe
Logging Subscribe
Migration Toolkit Virtualization Subscribe
Openshift Subscribe
Openshift Api Data Protection Subscribe
Openshift Data Foundation Subscribe
Openshift Secondary Scheduler Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2022-53402 JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00081}

epss

{'score': 0.00143}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2024-08-03T07:32:56.001Z

Reserved: 2022-05-31T00:00:00

Link: CVE-2022-32190

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-09-13T18:15:14.507

Modified: 2024-11-21T07:05:53.640

Link: CVE-2022-32190

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-09-06T00:00:00Z

Links: CVE-2022-32190 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses