Bug 1212076 (CVE-2023-29405) - VUL-0: CVE-2023-29405: go1.19,go1.20: cmd/go: improper sanitization of LDFLAGS
Summary: VUL-0: CVE-2023-29405: go1.19,go1.20: cmd/go: improper sanitization of LDFLAGS
Status: RESOLVED FIXED
Alias: CVE-2023-29405
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/368613/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-06 21:22 UTC by Jeff Kowalczyk
Modified: 2024-05-14 11:05 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2023-06-06 21:22:32 UTC
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive.

There are two bugs for two CVEs for this otherwise similar bug text, this is bug TWO.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2023-29405 and Go issue https://go.dev/issue/60306.
Comment 2 OBSbugzilla Bot 2023-06-07 00:35:13 UTC
This is an autogenerated message for OBS integration:
This bug (1212076) was mentioned in
https://build.opensuse.org/request/show/1091159 Factory / go1.19
https://build.opensuse.org/request/show/1091160 Factory / go1.20
Comment 4 Maintenance Automation 2023-06-16 16:30:04 UTC
SUSE-SU-2023:2526-1: An update that solves four vulnerabilities and has one fix can now be installed.

Category: security (moderate)
Bug References: 1206346, 1212073, 1212074, 1212075, 1212076
CVE References: CVE-2023-29402, CVE-2023-29403, CVE-2023-29404, CVE-2023-29405
Sources used:
openSUSE Leap 15.4 (src): go1.20-1.20.5-150000.1.14.1
openSUSE Leap 15.5 (src): go1.20-1.20.5-150000.1.14.1
Development Tools Module 15-SP4 (src): go1.20-1.20.5-150000.1.14.1
Development Tools Module 15-SP5 (src): go1.20-1.20.5-150000.1.14.1
SUSE Linux Enterprise Real Time 15 SP3 (src): go1.20-1.20.5-150000.1.14.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2023-06-16 16:30:06 UTC
SUSE-SU-2023:2525-1: An update that solves four vulnerabilities and has one fix can now be installed.

Category: security (moderate)
Bug References: 1200441, 1212073, 1212074, 1212075, 1212076
CVE References: CVE-2023-29402, CVE-2023-29403, CVE-2023-29404, CVE-2023-29405
Sources used:
openSUSE Leap 15.4 (src): go1.19-1.19.10-150000.1.34.1
openSUSE Leap 15.5 (src): go1.19-1.19.10-150000.1.34.1
Development Tools Module 15-SP4 (src): go1.19-1.19.10-150000.1.34.1
Development Tools Module 15-SP5 (src): go1.19-1.19.10-150000.1.34.1
SUSE Linux Enterprise Real Time 15 SP3 (src): go1.19-1.19.10-150000.1.34.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Robert Frohl 2024-05-14 11:05:48 UTC
done, closing