Usage of 'CgoPkgConfig' allowed execution of the pkg-config
binary with flags that are not explicitly safe-listed.
To prevent this behavior, compiler flags resulting from usage
of 'CgoPkgConfig' are sanitized prior to invoking pkg-config.
Thank you to RyotaK (https://ryotak.net) of GMO Flatt Security Inc.
for reporting this issue.
This is CVE-2025-61731 and https://go.dev/issue/77100.
This is a PRIVATE issue for CVE-2025-61731, tracked in http://b/463693513 and fixed by https://go-internal-review.git.corp.google.com/c/go/+/3240.
/cc @golang/security and @golang/release