| Name | CVE-2025-22873 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1104816 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
| golang-1.19 (PTS) | bookworm | 1.19.8-2 | fixed |
| golang-1.24 (PTS) | trixie | 1.24.4-1 | fixed |
| forky, sid | 1.24.13-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| golang-1.15 | source | (unstable) | (not affected) | |||
| golang-1.19 | source | (unstable) | (not affected) | |||
| golang-1.23 | source | (unstable) | (not affected) | |||
| golang-1.24 | source | (unstable) | 1.24.4-1 | 1104816 |
- golang-1.23 <not-affected> (Vulnerable code only present in 1.24.x releases)
- golang-1.19 <not-affected> (Vulnerable code only present in 1.24.x releases)
- golang-1.15 <not-affected> (Vulnerable code only present in 1.24.x releases)
https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
https://github.com/golang/go/issues/73555
https://github.com/golang/go/commit/8947f3395eb24dce6a5749517c0b40204b585f0a (go1.24.3)