Ubuntu CVE Tracker
UBUNTU-CVE-2023-45285
Details
Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | golang-1.20 | All versions before 1.20.3-1ubuntu0.1~20.04.1 (fixed in 1.20.3-1ubuntu0.1~20.04.1) |
| Ubuntu:20.04:LTS | golang-1.21 | All versions before 1.21.1-1~ubuntu20.04.2 (fixed in 1.21.1-1~ubuntu20.04.2) |
| Ubuntu:22.04:LTS | golang-1.20 | All versions before 1.20.3-1ubuntu0.1~22.04.1 (fixed in 1.20.3-1ubuntu0.1~22.04.1) |
| Ubuntu:22.04:LTS | golang-1.21 | All versions before 1.21.1-1~ubuntu22.04.2 (fixed in 1.21.1-1~ubuntu22.04.2) |
References
- https://ubuntu.com/security/CVE-2023-45285
- https://go.dev/issue/63845
- https://github.com/golang/go/commit/23c943e5296c6fa3a6f9433bd929306c4dbf2aa3
- https://github.com/golang/go/commit/46bc33819ac86a9596b8059235842f0e0c7469bd
- https://ubuntu.com/security/notices/USN-6574-1
- https://www.cve.org/CVERecord?id=CVE-2023-45285