Skip to content

Conversation

@thaJeztah
Copy link
Member

This Go release also fixes golang/go#56309, a runtime bug which can cause random memory corruption when a goroutine exits with runtime.LockOSThread() set. This fix is necessary to unblock work to replace certain uses of pkg/reexec with unshared OS threads.

    On Windows, syscall.StartProcess and os/exec.Cmd did not properly
    check for invalid environment variable values. A malicious
    environment variable value could exploit this behavior to set a
    value for a different environment variable. For example, the
    environment variable string "A=B\x00C=D" set the variables "A=B" and
    "C=D".

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

    This is CVE-2022-41716 and Go issue https://go.dev/issue/56284.

This Go release also fixes golang/go#56309, a
runtime bug which can cause random memory corruption when a goroutine
exits with runtime.LockOSThread() set. This fix is necessary to unblock
work to replace certain uses of pkg/reexec with unshared OS threads.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@dcantah
Copy link
Member

dcantah commented Nov 6, 2022

lawl, the linter exceeded its timeout so this needs a re-run

Copy link
Member

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on green

@thaJeztah
Copy link
Member Author

looks like golangci-lint timed out; could someone give CI a kick?

@dims
Copy link
Member

dims commented Nov 6, 2022

looks like golangci-lint timed out; could someone give CI a kick?

Done!

@thaJeztah
Copy link
Member Author

Thanks ❤️

@AkihiroSuda AkihiroSuda merged commit f69fbac into containerd:release/1.6 Nov 7, 2022
@thaJeztah thaJeztah deleted the 1.6_bump_go1.18.8 branch November 7, 2022 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants