CVE-2023-45285
Last modified
CVE-2023-45285 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.14% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.20.12 |
| Golang | Go | >= 1.21.0-0, < 1.21.5 |
References
- https://go.dev/issue/63845Issue Tracking, Vendor Advisory
- https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJMailing List, Vendor Advisory
- https://pkg.go.dev/vuln/GO-2023-2383Patch, Vendor Advisory
- https://go.dev/issue/63845Issue Tracking, Vendor Advisory
- https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJMailing List, Vendor Advisory
- https://pkg.go.dev/vuln/GO-2023-2383Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-45285?
How severe is CVE-2023-45285?
How do I fix CVE-2023-45285?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-4528Unsafe deserialization in JSCAPE MFT Server versions prior t…7.2
- CVE-2023-45280Yamcs 5.8.6 allows XSS (issue 2 of 2). It comes with a Bucke…5.4
- CVE-2023-45281An issue in Yamcs 5.8.6 allows attackers to obtain the sessi…6.1
- CVE-2023-45282In NASA Open MCT (aka openmct) before 3.1.0, prototype pollu…7.5
- CVE-2023-45283The filepath package does not recognize paths with a \??\ pr…7.5
- CVE-2023-45284On Windows, The IsLocal function does not correctly detect r…5.3
- CVE-2023-45286A race condition in go-resty can result in HTTP request body…5.9
- CVE-2023-45287Before Go 1.20, the RSA based TLS key exchanges used the mat…7.5
- CVE-2023-45288An attacker may cause an HTTP/2 endpoint to read arbitrary a…7.5
- CVE-2023-45289When following an HTTP redirect to a domain which is not a s…4.3
- CVE-2023-45290When parsing a multipart form (either explicitly with Reques…6.5
- CVE-2023-45291Rejected reason: reserved but not needed
Are you affected by CVE-2023-45285?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
