CVE-2023-45285 Command 'go get' may unexpectedly fallback to insecure git in cmd/go
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| toolchain(Go) | < 1.20.12 | 1.20.12 |
| toolchain(Go) | >= 1.21.0-0, < 1.21.5 | 1.21.5 |
| debian/golang-1.19(Debian:12) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.11-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.8-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.9-1 | No fix listed |
| cmd/go(Go) | < 1.20.12 | 1.20.12 |
| cmd/go(Go) | >= 1.21.0-0, < 1.21.5 | 1.21.5 |
| ubuntu/golang-1.20(Ubuntu:22.04) | < 1.20.3-1ubuntu0.1~22.04.1 | 1.20.3-1ubuntu0.1~22.04.1 |
| ubuntu/golang-1.21(Ubuntu:22.04) | < 1.21.1-1~ubuntu22.04.2 | 1.21.1-1~ubuntu22.04.2 |
| golang go | < 1.20.12 | 1.20.12 |
| golang go | >= 1.21.0-0, < 1.21.5 | 1.21.5 |
| ubuntu/golang-1.20(Ubuntu:20.04) | < 1.20.3-1ubuntu0.1~20.04.1 | 1.20.3-1ubuntu0.1~20.04.1 |
| ubuntu/golang-1.20(Ubuntu:20.04) | = 1.20.3-1ubuntu0.1~20.04 | No fix listed |
| ubuntu/golang-1.21(Ubuntu:20.04) | < 1.21.1-1~ubuntu20.04.2 | 1.21.1-1~ubuntu20.04.2 |
| ubuntu/golang-1.21(Ubuntu:20.04) | = 1.21.1-1~ubuntu20.04.1 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/golang-1.20(Ubuntu:22.04) | = 1.20.3-1ubuntu0.1~22.04 | No fix listed |
| ubuntu/golang-1.21(Ubuntu:22.04) | = 1.21.1-1~ubuntu22.04.1 | No fix listed |
References
- groups.google.com mailing-list vendor-advisory
- go.dev issue-tracking vendor-advisory
- go.dev patch
- Debian Security Tracker CVE-2023-45285 vendor-advisory
- pkg.go.dev patch vendor-advisory
- lists.fedoraproject.org
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6574-1 vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking
- github.com issue-tracking