Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2022-32190: golang: net/url: JoinPath does not strip relative path components in all circumstances

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat OpenShift: CVE-2022-32190: golang: net/url: JoinPath does not strip relative path components in all circumstances

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
09/13/2022
Created
01/26/2023
Added
01/26/2023
Modified
05/10/2024

Description

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.

Solution(s)

  • linuxrpm-upgrade-atomic-openshift-service-idler
  • linuxrpm-upgrade-buildah
  • linuxrpm-upgrade-containers-common
  • linuxrpm-upgrade-kernel
  • linuxrpm-upgrade-kernel-rt
  • linuxrpm-upgrade-openshift-clients
  • linuxrpm-upgrade-openshift-kuryr
  • linuxrpm-upgrade-ovn22-12
  • linuxrpm-upgrade-podman
  • linuxrpm-upgrade-runc
  • linuxrpm-upgrade-skopeo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;