# CVE-2022-32190: golang-1.19: JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path

CVE-2022-32190 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2022-32190, released September 13, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-32190
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0230
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 13, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | delve ol 8 | 0:1.9.1-1.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | go-toolset ol 8 | 0:1.19.4-1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-1.19 Debian 12.15 (bookworm) | 1.19.1-1 | [DEBIAN-CVE-2022-32190](https://patchblox.com/security/data/fix/linux/debian-cve-2022-32190.md) | Sep 13, 2022 |
| Linux | golang-bin amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-bin ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-docs amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-docs ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-misc amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-misc ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-race amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-race ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-shared amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-src amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-src ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |
| Linux | golang-tests amzn 2023 | 1.19.3-2.amzn2023.0.2 | [ALAS2023-2023-048](https://patchblox.com/security/data/fix/linux/alas2023-2023-048.md) | Feb 17, 2023 |
| Linux | golang-tests ol 8 | 0:1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba | [ELSA-2023-18908](https://patchblox.com/security/data/fix/linux/elsa-2023-18908.md) | Mar 7, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
