pkgsrc/lang/go
bsiegert 301ccc590d Update go115 to 1.15.7.
* cmd/go: packages using cgo can cause arbitrary code execution at build time

The go command may execute arbitrary code at build time when cgo is in use on
Windows. This may occur when running “go get”, or any other command that builds
code. Only users who build untrusted code (and don’t execute it) are affected.

In addition to Windows users, this can also affect Unix users who have “.”
listed explicitly in their PATH and are running “go get” or build commands
outside of a module or with module mode disabled.

Thanks to RyotaK (https://twitter.com/ryotkak) for reporting this issue.

This issue is CVE-2021-3115 and Go issue golang.org/issue/43783.

For more background on the cmd/go change and help deciding whether your own
programs might have similar issues, see our blog post at
https://blog.golang.org/path-security.

* crypto/elliptic: incorrect operations on the P-224 curve

The P224() Curve implementation can in rare circumstances generate incorrect
outputs, including returning invalid points from ScalarMult.

The crypto/x509 and golang.org/x/crypto/ocsp (but not crypto/tls) packages
support P-224 ECDSA keys, but they are not supported by publicly trusted
certificate authorities. No other standard library or golang.org/x/crypto
package supports or uses the P-224 curve.

The incorrect output was found by the elliptic-curve-differential-fuzzer
project running on OSS-Fuzz and reported by Philippe Antoine (Catena cyber).

This issue is CVE-2021-3114 and Go issue golang.org/issue/43786.
2021-01-23 14:07:37 +00:00
..
bootstrap.mk go: clarify that go14 had no aarch64 support on all OSes, so we need go-bin 2020-12-12 11:08:26 +00:00
DESCR lang: Re-enable lang/go as a meta package. 2018-11-21 11:25:00 +00:00
go-dep.mk lang/go: extend _VARGROUPS section in go-dep.mk 2019-09-10 20:01:06 +00:00
go-module.mk go-module.mk: "make show-go-modules" now prints an rcs id preamble 2020-11-03 18:44:13 +00:00
go-package.mk Support UNLIMIT_RESOURCES for go packages. 2020-03-30 19:33:13 +00:00
go-vars.mk go-vars.mk: set RELRO_SUPPORTED=no here 2020-08-30 05:52:10 +00:00
Makefile all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
version.mk Update go115 to 1.15.7. 2021-01-23 14:07:37 +00:00