CVE-2022-32190
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 2.15%• Percentile: 81%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- chainguard•katib-earlystopping
< 0.19.0-r31
- chainguard•katib-suggestion-goptuna-compat
< 0.19.0-r40
- chainguard•katib-suggestion-hyperband
< 0.19.0-r31
- chainguard•katib-suggestion-hyperopt
< 0.19.0-r31 | < 0.19.0-r40
- chainguard•katib-suggestion-nas-darts
< 0.19.0-r31
- chainguard•katib-suggestion-nas-enas
< 0.19.0-r31
- chainguard•katib-suggestion-optuna-enas
< 0.19.0-r31
- chainguard•katib-suggestion-pbt-enas
< 0.19.0-r31
- chainguard•katib-suggestion-skopt-enas
< 0.19.0-r31
- chainguard•katib-tfevent-metricscollector
< 0.19.0-r31
- wolfi•katib-earlystopping
< 0.19.0-r31
- wolfi•katib-suggestion-goptuna-compat
< 0.19.0-r40
- wolfi•katib-suggestion-hyperband
< 0.19.0-r31
- wolfi•katib-suggestion-hyperopt
< 0.19.0-r31 | < 0.19.0-r40
- wolfi•katib-suggestion-nas-darts
< 0.19.0-r31
- wolfi•katib-suggestion-nas-enas
< 0.19.0-r31
- wolfi•katib-suggestion-optuna-enas
< 0.19.0-r31
- wolfi•katib-suggestion-pbt-enas
< 0.19.0-r31
- wolfi•katib-suggestion-skopt-enas
< 0.19.0-r31
- wolfi•katib-tfevent-metricscollector
< 0.19.0-r31
- debian•golang-1.19
< 1.19.1-1
- go standard library•net/url
≥ 1.19.0-0, < 1.19.1
- golang•go
1.19.0 | 1.19.0:beta1 | 1.19.0:rc1 | 1.19.0:rc2
- Go•stdlib
≥ 1.19.0-0, < 1.19.1
- redhat•atomic-openshift-service-idler
< 0:4.12.0-202301312133.p0.ga0f9090.assembly.stream.el8
- redhat•bpftool
< 0:4.18.0-372.43.1.el8_6
- redhat•bpftool-debuginfo
< 0:4.18.0-372.43.1.el8_6
- redhat•buildah
< 1:1.23.4-3.rhaos4.12.el8
- redhat•buildah-debuginfo
< 1:1.23.4-3.rhaos4.12.el8
- redhat•buildah-debugsource
< 1:1.23.4-3.rhaos4.12.el8
- redhat•buildah-tests
< 1:1.23.4-3.rhaos4.12.el8
- redhat•buildah-tests-debuginfo
< 1:1.23.4-3.rhaos4.12.el8
- redhat•containers-common
< 2:1-32.rhaos4.12.el8
- redhat•kernel
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-core
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-cross-headers
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-core
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-debuginfo
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-devel
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-modules
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-modules-extra
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debug-modules-internal
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debuginfo
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debuginfo-common-aarch64
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debuginfo-common-ppc64le
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debuginfo-common-s390x
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-debuginfo-common-x86_64
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-devel
< 0:4.18.0-372.43.1.el8_6
- redhat•kernel-doc
< 0:4.18.0-372.43.1.el8_6
Showing first 50 affected entries in server-rendered view.
References (15)
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- https://go.dev/issue/54385
- https://go.dev/cl/423514
- https://pkg.go.dev/vuln/GO-2022-0988
- https://access.redhat.com/errata/RHBA-2023:0568
- https://issues.redhat.com/browse/OCPBUGS-6900
- https://issues.redhat.com/browse/OCPBUGS-6981
- https://issues.redhat.com/browse/OCPBUGS-6986
- https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhba-2023_0568.json
- https://access.redhat.com/security/cve/CVE-2022-32190
- https://bugzilla.redhat.com/show_bug.cgi?id=2124668
- https://www.cve.org/CVERecord?id=CVE-2022-32190
- https://nvd.nist.gov/vuln/detail/CVE-2022-32190
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s/m/0tgO0pjiBQAJ
- https://security-tracker.debian.org/tracker/CVE-2022-32190