---
title: "Go standard library path/filepath vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gostandardlibrary/path-filepath
type: product
description: "Go standard library path/filepath has 6 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2025-08-06
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Go standard library path/filepath vulnerabilities

Vendor: [Go standard library](https://radicalnotion.ai/vendor/gostandardlibrary)

- **Published CVEs:** 6
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 6
- **Average CVSS:** 6.5
- **First CVE:** 2022-08-09
- **Latest CVE:** 2025-08-06
- **Platforms:** windows

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 4 |
| Medium | 1 |
| Low | 1 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 2 |
| [CWE-41](https://radicalnotion.ai/cwe/cwe-41) | Improper Resolution of Path Equivalence | 2 |
| [CWE-367](https://radicalnotion.ai/cwe/cwe-367) | Time-of-check Time-of-use (TOCTOU) Race Condition | 1 |
| [CWE-674](https://radicalnotion.ai/cwe/cwe-674) | Uncontrolled Recursion | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2022 | 2 |
| 2023 | 3 |
| 2024 | 0 |
| 2025 | 1 |

## Affected versions

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 1.20.11 | range | 2 |
| 1.21.0-0 \<= v \< 1.21.4 | range | 2 |
| \< 1.17.11 | range | 1 |
| \< 1.17.12 | range | 1 |
| \< 1.19.6 | range | 1 |
| 1.18.0-0 \<= v \< 1.18.3 | range | 1 |
| 1.18.0-0 \<= v \< 1.18.4 | range | 1 |
| 1.20.0-0 \<= v \< 1.20.1 | range | 1 |
| 1.20.11 \<= v \< 1.20.12 | range | 1 |
| 1.21.4 \<= v \< 1.21.5 | range | 1 |
| No version pinned | default | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 1.20.11 | 2 |
| 1.21.4 | 2 |
| 1.17.11 | 1 |
| 1.17.12 | 1 |
| 1.18.3 | 1 |
| 1.18.4 | 1 |
| 1.19.6 | 1 |
| 1.20.1 | 1 |
| 1.20.12 | 1 |
| 1.21.5 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-8244 | Walk/WalkDir in path/filepath susceptible to symlink race | low | 3.7 | No | No | Yes |
| CVE-2023-45284 | Incorrect detection of reserved device names on Windows in path/filepath | medium | 5.3 | No | No | Yes |
| CVE-2023-45283 | Insecure parsing of Windows paths with a \\??\\ prefix in path/filepath | high | 7.5 | No | No | Yes |
| CVE-2022-41722 | Path traversal on Windows in path/filepath | high | 7.5 | No | No | Yes |
| CVE-2022-30632 | Stack exhaustion on crafted paths in path/filepath | high | 7.5 | No | No | Yes |
| CVE-2022-29804 | Path traversal via Clean on Windows in path/filepath | high | 7.5 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Go standard library path/filepath have?

Go standard library path/filepath has 6 published CVE records since 2022.

### How many Go standard library path/filepath CVEs are in CISA KEV?

None of Go standard library path/filepath's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Go standard library path/filepath vulnerabilities?

No Go standard library path/filepath CVEs currently have a tracked public exploit in this dataset.

### Which versions of Go standard library path/filepath are affected?

21 distinct Go standard library path/filepath versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Go standard library path/filepath CVEs?

Go standard library path/filepath's CVEs most often map to these CWE weakness types: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-41 (Improper Resolution of Path Equivalence), CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition), CWE-674 (Uncontrolled Recursion).

### What is the average severity of Go standard library path/filepath CVEs?

The average CVSS base score across Go standard library path/filepath's scored CVEs is 6.5.

## Other products from this vendor

- [net/http](https://radicalnotion.ai/vendor/gostandardlibrary/net-http) (27 CVEs)
- [crypto/x509](https://radicalnotion.ai/vendor/gostandardlibrary/crypto-x509) (15 CVEs)
- [html/template](https://radicalnotion.ai/vendor/gostandardlibrary/html-template) (14 CVEs)
- [crypto/tls](https://radicalnotion.ai/vendor/gostandardlibrary/crypto-tls) (13 CVEs)
- [net/http/internal/http2](https://radicalnotion.ai/vendor/gostandardlibrary/net-http-internal-http2) (6 CVEs)
- [net/textproto](https://radicalnotion.ai/vendor/gostandardlibrary/net-textproto) (6 CVEs)
- [os](https://radicalnotion.ai/vendor/gostandardlibrary/os) (6 CVEs)
- [net/url](https://radicalnotion.ai/vendor/gostandardlibrary/net-url) (5 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gostandardlibrary/path-filepath). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
