Skip to content

On Darwin, building a Go module which contains CGO can...

Unreviewed Published May 8, 2024 to the GitHub Advisory Database • Updated May 8, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the -lto_library flag in a "#cgo LDFLAGS" directive.

References

Published by the National Vulnerability Database May 8, 2024
Published to the GitHub Advisory Database May 8, 2024
Last updated May 8, 2024

Severity

Unknown

Weaknesses

No CWEs

CVE ID

CVE-2024-24787

GHSA ID

GHSA-5fq7-4mxc-535h

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Checking history
See something to contribute? Suggest improvements for this vulnerability.