Bug 1211031 (CVE-2023-29400) - VUL-0: CVE-2023-29400: go1.19,go1.20: html/template: improper handling of empty HTML attributes
Summary: VUL-0: CVE-2023-29400: go1.19,go1.20: html/template: improper handling of emp...
Status: RESOLVED FIXED
: 1211130 (view as bug list)
Alias: CVE-2023-29400
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/364947/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-29400:7.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-02 19:34 UTC by Jeff Kowalczyk
Modified: 2024-03-27 14:41 UTC (History)
3 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-05-02 19:34:59 UTC
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input could result in output that would have unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2023-29400 and Go issue https://go.dev/issue/59722.
Comment 2 Thomas Leroy 2023-05-03 07:40:18 UTC
Thanks for the report Jeff. html/template package is delivered by Go and cannot
be vendored and embedded in any other packages. Rebuilding packages with a
fixed version of go1.X is enough for us
Comment 4 Maintenance Automation 2023-05-05 08:30:08 UTC
SUSE-SU-2023:2105-1: An update that solves seven vulnerabilities and has three fixes can now be installed.

Category: security (important)
Bug References: 1206346, 1210127, 1210128, 1210129, 1210130, 1210938, 1210963, 1211029, 1211030, 1211031
CVE References: CVE-2023-24534, CVE-2023-24536, CVE-2023-24537, CVE-2023-24538, CVE-2023-24539, CVE-2023-24540, CVE-2023-29400
Sources used:
openSUSE Leap 15.4 (src): go1.20-1.20.4-150000.1.11.1
Development Tools Module 15-SP4 (src): go1.20-1.20.4-150000.1.11.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-05-08 16:30:02 UTC
SUSE-SU-2023:2127-1: An update that solves seven vulnerabilities, contains one feature and has four fixes can now be installed.

Category: security (important)
Bug References: 1200441, 1210127, 1210128, 1210129, 1210130, 1210938, 1210963, 1211029, 1211030, 1211031, 1211073
CVE References: CVE-2023-24534, CVE-2023-24536, CVE-2023-24537, CVE-2023-24538, CVE-2023-24539, CVE-2023-24540, CVE-2023-29400
Jira References: PED-1962
Sources used:
openSUSE Leap 15.4 (src): go1.19-1.19.9-150000.1.31.1
Development Tools Module 15-SP4 (src): go1.19-1.19.9-150000.1.31.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): go1.19-1.19.9-150000.1.31.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): go1.19-1.19.9-150000.1.31.1
SUSE Linux Enterprise Real Time 15 SP3 (src): go1.19-1.19.9-150000.1.31.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): go1.19-1.19.9-150000.1.31.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): go1.19-1.19.9-150000.1.31.1
SUSE Enterprise Storage 7.1 (src): go1.19-1.19.9-150000.1.31.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 6 Maintenance Automation 2023-05-08 16:30:08 UTC
SUSE-SU-2023:2105-2: An update that solves seven vulnerabilities and has three fixes can now be installed.

Category: security (important)
Bug References: 1206346, 1210127, 1210128, 1210129, 1210130, 1210938, 1210963, 1211029, 1211030, 1211031
CVE References: CVE-2023-24534, CVE-2023-24536, CVE-2023-24537, CVE-2023-24538, CVE-2023-24539, CVE-2023-24540, CVE-2023-29400
Sources used:
SUSE Linux Enterprise Real Time 15 SP3 (src): go1.20-1.20.4-150000.1.11.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 7 Ali Abdallah 2023-05-09 09:25:00 UTC
*** Bug 1211130 has been marked as a duplicate of this bug. ***
Comment 10 Marcus Meissner 2023-10-06 12:57:13 UTC
done