Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <120eeb82-4ce9-4507-9aab-79d17c98a992@oracle.com>
Date: Tue, 6 May 2025 12:18:21 -0700
From: Alan Coopersmith <alan.coopersmith@...cle.com>
To: oss-security@...ts.openwall.com
Subject: Go 1.24.3 fixes CVE-2025-22873: os: Root permits
 access to parent directory

https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ announces:

> Hello gophers,
> 
> We have just released Go versions 1.24.3 and 1.23.9, minor point releases.
> 
> The Go 1.24.3 minor release includes 1 security fix following the security policy:
> 
>     os: Root permits access to parent directory
> 
>     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.
> 
>     Root now correctly returns an error in this case.
> 
>     This is CVE-2025-22873 and Go issue https://go.dev/issue/73555.
> 
>     Thanks to Dan Sebastian Thrane of SDU eScience Center for reporting this issue.
> 
> This security fix only applies to Go 1.24.x releases. Go 1.23.x releases are not affected by this.
> 
> View the release notes for more information:
> https://go.dev/doc/devel/release#go1.24.3
> 
> You can download binary and source distributions from the Go website:
> https://go.dev/dl/
> 
> To compile from source using a Git clone, update to the release with
> git checkout go1.24.3 and build as usual.
> 
> Thanks to everyone who contributed to the releases.
> Cheers,
> Cherry and Carlos for the Go team

-- 
         -Alan Coopersmith-                 alan.coopersmith@...cle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.