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

Go 1.14.7 released #41

Closed
atc0005 opened this issue Aug 6, 2020 · 2 comments
Closed

Go 1.14.7 released #41

atc0005 opened this issue Aug 6, 2020 · 2 comments
Assignees
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Aug 6, 2020

Hi gophers,

We have just released Go 1.14.7 and Go 1.13.15 to address a recently reported security issue. We recommend that all users update to one of these releases (if you’re not sure which, choose Go 1.14.7).
encoding/binary: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs
Certain invalid inputs to ReadUvarint or ReadVarint could cause those functions to read an unlimited number of bytes from the ByteReader argument before returning an error. This could lead to processing more input than expected when the caller is reading directly from a network and depends on ReadUvarint and ReadVarint only consuming a small, bounded number of bytes, even from invalid inputs.

With the update, ReadUvarint and ReadVarint now always return after consuming a bounded number of bytes (specifically, MaxVarintLen64, which is 10). The result being returned has not changed; the functions merely detect and return some errors without reading as much input.

Thanks to Diederik Loerakker, Jonny Rhea, Raúl Kripalani, and Preston Van Loon for reporting this issue.

This issue is CVE-2020-16845 and Go issue golang.org/issue/40618.

The upcoming Go 1.15rc2 release will also include the fix above.

Downloads are available at https://golang.org/dl for all supported platforms.

Thank you,
Katie and Filippo on behalf of the Go team

refs https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo

@atc0005 atc0005 added this to the Next Release milestone Aug 6, 2020
@atc0005 atc0005 self-assigned this Aug 6, 2020
@atc0005
Copy link
Owner Author

atc0005 commented Aug 6, 2020

Updated Docker images are not yet available.

@atc0005
Copy link
Owner Author

atc0005 commented Aug 7, 2020

See also #43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant