CVE-2025-22873
Vulnerability Summary
Timeline
Description
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
CVSS Metrics
- v3.1•LOW•Score: 3.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
EPSS Trends
Current EPSS score: 0.24%• Percentile: 16%
Techniques & Countermeasures
- CWE-23•Relative Path Traversal
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
Affected Systems
- chainguard•go-1.20
all | < 0
- chainguard•go-1.22
all | < 0
- chainguard•katib-earlystopping
< 0.19.0-r31
- chainguard•katib-suggestion-goptuna-compat
all
- 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
- chainguard•nvidia-nsight-compute-12.8
all
- chainguard•nvidia-nsight-compute-12.9
all
- chainguard•nvidia-nsight-compute-13.0
all
- chainguard•nvidia-nsight-compute-13.1
all
- chainguard•nvidia-nsight-compute-13.2
< 2026.1.1.2-r0
- wolfi•go-1.20
all | < 0
- wolfi•go-1.22
all | < 0
- wolfi•katib-earlystopping
< 0.19.0-r31
- wolfi•katib-suggestion-goptuna-compat
all
- 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.24
< 1.24.4-1
- go standard library•os
< 1.23.9 | ≥ 1.24.0-0, < 1.24.3
- golang•go
< 1.23.9 | ≥ 1.24.0, < 1.24.3
- Go•stdlib
≥ 1.24.0-0, < 1.24.3
References (9)
- https://go.dev/cl/670036
- https://go.dev/issue/73555
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
- https://pkg.go.dev/vuln/GO-2026-4403
- http://www.openwall.com/lists/oss-security/2025/05/06/2
- https://security-tracker.debian.org/tracker/CVE-2025-22873
- https://pkg.go.dev
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22873.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-22873