Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: downloads follow plain-HTTP redirects even when the -insecure flag is not set [1.11 backport] #29618

Closed
gopherbot opened this issue Jan 8, 2019 · 7 comments
Labels
CherryPickCandidate Used during the release process for point releases FrozenDueToAge
Milestone

Comments

@gopherbot
Copy link

@FiloSottile requested issue #29591 to be considered for backport to the next 1.11 minor release.

Agreed, we should not. Depending on how many packages this will break, we should consider backporting it, too. It's true that it requires a server misconfiguration, but it breaks user expectations about not having to trust their network.

@gopherbot please open two backport issues.

@gopherbot gopherbot added the CherryPickCandidate Used during the release process for point releases label Jan 8, 2019
@gopherbot gopherbot added this to the Go1.11.5 milestone Jan 8, 2019
@julieqiu julieqiu added CherryPickApproved Used during the release process for point releases and removed CherryPickCandidate Used during the release process for point releases labels Jan 9, 2019
@julieqiu
Copy link
Member

julieqiu commented Jan 9, 2019

Approving since this is a security issue. Please follow the instructions at https://github.com/golang/go/wiki/MinorReleases to create the cherrypick CL.

@julieqiu julieqiu modified the milestones: Go1.11.5, Go1.11.6 Jan 23, 2019
@dmitshur
Copy link
Contributor

dmitshur commented Feb 25, 2019

The upstream issue #29591 has not been resolved yet, and it has been bumped up to Go 1.13 milestone, so no progress can be made here at this time.

Edit: That said, CL 156838 which resolves the upstream issue has a +2, just a R=Go1.13 label. Perhaps progress can be made here. I'll let people who worked on the fix decide. /cc @bcmills @rsc

@bcmills
Copy link
Contributor

bcmills commented Feb 25, 2019

I think we want to land the CL and give it a bit of soak time, then backport it.

@andybons andybons modified the milestones: Go1.11.6, Go1.11.7 Mar 14, 2019
@andybons andybons modified the milestones: Go1.11.7, Go1.11.8, Go1.11.9, Go1.11.10 Apr 5, 2019
@andybons
Copy link
Member

andybons commented May 6, 2019

It's been a while. How's the soaking going?

@bcmills
Copy link
Contributor

bcmills commented May 6, 2019

Haven't heard any complaints so far, but it's only been a month. I'm still feeling a bit uneasy about it. (Maybe that implies that we shouldn't backport it at all?)

@andybons
Copy link
Member

andybons commented May 6, 2019

OK. Pushing to 1.11.11 for now.

@andybons andybons modified the milestones: Go1.11.10, Go1.11.11 May 6, 2019
@bcmills
Copy link
Contributor

bcmills commented May 7, 2019

I've been thinking about this some more. I don't think we'll have adequate soak time on the change until after Go 1.13 is released: I suspect that the problems will be in the long tail of packages, and users on the long tail by and large are not testing against HEAD on a nightly basis.

While this is a security issue, I don't think it's major enough to risk breaking long-tail packages at a point release.

I'm going to tentatively schedule the 1.12 backport for a couple of weeks after the 1.13 release, when we'll have a clearer view of just how broken the long tail is. At that point, Go 1.11 will no longer be supported anyway, so closing the 1.11 backport issue.

@golang golang locked and limited conversation to collaborators Jun 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CherryPickCandidate Used during the release process for point releases FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

5 participants