Path traversal in Go programming language - CVE-2022-32190

 

Path traversal in Go programming language - CVE-2022-32190

Published: September 21, 2022


Vulnerability identifier: #VU67556
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32190
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within JoinPath and URL.JoinPath. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

Go programming language
Gentoo Linux
Amazon Linux AMI
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
Fedora
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Oracle Solaris
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Development Tools
openSUSE Leap
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
IBM Spectrum Copy Data Management
Migration Toolkit for Virtualization
Ansible Automation Platform
Red Hat Migration Toolkit for Applications
IBM Spectrum Protect Plus Container Backup and Restore for Kubernetes
IBM Spectrum Protect Plus Container Backup and Restore for OpenShift
Operations Dashboard
IBM Cloud Pak for Multicloud Management Security Services
IBM Cloud Pak for Multicloud Management Monitoring
IBM Watson Discovery for IBM Cloud Pak for Data
OpenShift Logging
IBM Spectrum Protect Plus
Automation Assets in IBM Cloud Pak for Integration (CP4I)
containernetworking-plugins (Red Hat package)
runc (Red Hat package)
skopeo (Red Hat package)
dev-lang/go
golang
go1.19-doc
go1.19
go1.19-race
buildah (Red Hat package)
conmon (Red Hat package)
podman (Red Hat package)
openshift-clients (Red Hat package)
openshift-ansible (Red Hat package)
openshift4-aws-iso (Red Hat package)
openshift (Red Hat package)
openshift-kuryr (Red Hat package)
kubevirt (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
Dell EMC Streaming Data Platform
containerd
IBM Cloud Pak for Watson AIOps
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
OpenShift Service Mesh
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Virtualization
Red Hat Ceph Storage

How to mitigate CVE-2022-32190

Install update from vendor's website.

Go programming language - addressed in versions 1.18.6, 1.19.1
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.1.1
OpenShift API for Data Protection (OADP) - update to 1.1.1
Migration Toolkit for Containers - addressed in versions 1.7.7, 1.7.8
IBM Spectrum Copy Data Management - update to 2.2.18
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat OpenShift Container Platform - addressed in versions 4.11.44, 4.12.0, 4.12.22, 4.12.48
Red Hat Migration Toolkit for Applications - update to 6.1.0
IBM Spectrum Protect Plus Container Backup and Restore for Kubernetes - update to 10.1.12.2
IBM Spectrum Protect Plus Container Backup and Restore for OpenShift - update to 10.1.12.2
Operations Dashboard - addressed in versions 2020.4.1-14, 2022.2.1-3
containernetworking-plugins (Red Hat package) - update to 1.0.1-7.rhaos4.12.el8
runc (Red Hat package) - update to 1.1.6-4.rhaos4.12.el8
Dell EMC Streaming Data Platform - update to 1.7.0
containerd - update to 1.7.0
skopeo (Red Hat package) - addressed in versions 1.9.4-3.rhaos4.12.el9, 1.9.4-3.1.rhaos4.12.el8
dev-lang/go - update to 1.18.6
golang - addressed in versions 1.18.6-1.fc36, 1.18.9-1.el7, 1.19.1-1.fc37
go1.19-doc - update to 1.19.1-150000.1.9.1
go1.19 - update to 1.19.1-150000.1.9.1
go1.19-race - update to 1.19.1-150000.1.9.1
golang - update to 1.19.3-2
buildah (Red Hat package) - addressed in versions 1.23.4-5.rhaos4.12.el9, 1.23.4-5.1.rhaos4.12.el8
conmon (Red Hat package) - addressed in versions 2.1.2-4.rhaos4.12.el8, 2.1.2-5.rhaos4.12.el9
IBM Cloud Pak for Multicloud Management Security Services - update to 2.3 Fix Pack 6
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
OpenShift Service Mesh - update to 2.4.0
IBM Cloud Pak for Watson AIOps - update to 3.6.2
podman (Red Hat package) - addressed in versions 4.2.0-6.1.rhaos4.12.el8, 4.2.0-7.rhaos4.12.el9
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.3
openshift-clients (Red Hat package) - addressed in versions 4.12.0-202306090942.p0.g3c01edd.assembly.stream.el8, 4.12.0-202306090942.p0.g3c01edd.assembly.stream.el9
openshift-ansible (Red Hat package) - update to 4.12.0-202306090942.p0.g74dc7b3.assembly.stream.el8
openshift4-aws-iso (Red Hat package) - update to 4.12.0-202306090942.p0.gd2acdd5.assembly.stream.el8
openshift (Red Hat package) - addressed in versions 4.12.0-202306121916.p0.g8c21020.assembly.stream.el8, 4.12.0-202306121916.p0.g8c21020.assembly.stream.el9
openshift-kuryr (Red Hat package) - update to 4.12.0-202306140156.p0.g31dd228.assembly.stream.el8
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
OpenShift Virtualization - update to 4.13.0
kubevirt (Red Hat package) - addressed in versions 4.13.0-1469.el7, 4.13.0-1469.el8, 4.13.0-1469.el9
kernel (Red Hat package) - update to 4.18.0-372.59.1.el8_6
kernel-rt (Red Hat package) - update to 4.18.0-372.59.1.rt7.217.el8_6
OpenShift Logging - update to 5.6.0
Red Hat Ceph Storage - update to 6.1
IBM Spectrum Protect Plus - update to 10.1.14
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2020.4.1-11, 2022.2.1-3
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-3

External References

Related Security Bulletins