CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in golang go. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.19.8, 1.20.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hstdlib (Go): fixed in 1.19.8, 1.20.3Explain CVE-2023-24538 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24538?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24538?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-24538 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library html/template | before 1.19.8 |
| Go standard library html/template | from 1.20.0-0 before 1.20.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2023-1703 | Go | stdlib | <1.19.8 >=1.20.0-0 <1.20.3 | 1.19.8, 1.20.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | 1.19.8-2 | DEBIAN-CVE-2023-24538 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2023-24538 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2023-24538 |
| Ubuntu | 18.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~18.04.4 | UBUNTU-CVE-2023-24538 USN-6038-1 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2023-24538 |
| Ubuntu | 20.04:LTS | golang-1.13 | 1.13.8-1ubuntu1.2 | UBUNTU-CVE-2023-24538 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.14 | no fix listed | UBUNTU-CVE-2023-24538 |
| Ubuntu | 20.04:LTS | golang-1.16 | 1.16.2-0ubuntu1~20.04.1 | UBUNTU-CVE-2023-24538 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.2 | UBUNTU-CVE-2023-24538 USN-6038-1 |
| Ubuntu | 22.04:LTS | golang-1.13 | 1.13.8-1ubuntu2.22.04.2 | UBUNTU-CVE-2023-24538 USN-6038-2 |
| Ubuntu | 22.04:LTS | golang-1.17 | 1.17.13-3ubuntu1.2 | UBUNTU-CVE-2023-24538 USN-7061-1 |
| Ubuntu | 22.04:LTS | golang-1.18 | 1.18.1-1ubuntu1.1 | UBUNTU-CVE-2023-24538 USN-6038-1 |
| Ubuntu | Pro:16.04:LTS | golang-1.13 | 1.13.8-1ubuntu1~16.04.3+esm3 | UBUNTU-CVE-2023-24538 USN-6038-2 |
| 2 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | ansible_automation_platform:2.3::el8 | openshift-clients | 0:4.12.0-202307200611.p0.g49844f7.assembly.stream.el8 | RHSA-2023:4470 |
| Red Hat | devtools:2023::el7 | go-toolset-1.19-golang, go-toolset-1.19-golang-bin, go-toolset-1.19-golang-src and 4 more | 0:1.19.9-1.el7_9 | RHSA-2023:3323 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.24.6-7.module+el8.9.0+19784+443be299 | RHSA-2023:6938 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.31.3-1.module+el8.9.0+19761+326da906 | RHSA-2023:6939 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:46-1.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6938 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:75-1.module+el8.9.0+19761+326da906 | RHSA-2023:6939 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.1.4-2.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6938 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 3:2.1.8-1.module+el8.9.0+19761+326da906 | RHSA-2023:6939 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.205.0-3.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6938 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.221.0-1.module+el8.9.0+19685+019f3589 | RHSA-2023:6939 |
| Red Hat | enterprise_linux:8::appstream | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 1:1.1.1-5.module+el8.9.0+19784+443be299 | RHSA-2023:6938 |
| Red Hat | enterprise_linux:8::appstream | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 1:1.3.0-4.module+el8.9.0+19649+5879504a | RHSA-2023:6939 |
| 90 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | go1.19 | 1.19.8-150000.1.26.1 | SUSE-SU-2023:1792-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | go1.19 | 1.19.9-150000.1.31.1 | SUSE-SU-2023:2127-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4 | go1.20 | 1.20.3-150000.1.8.1 | SUSE-SU-2023:1791-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4 | go1.20 | 1.20.4-150000.1.11.1 | SUSE-SU-2023:2105-1 |
| SUSE | Linux Enterprise Real Time 15 SP3 | go1.20 | 1.20.4-150000.1.11.1 | SUSE-SU-2023:2105-2 |
| openSUSE | Leap 15.4 | go1.19 | 1.19.8-150000.1.26.1 | SUSE-SU-2023:1792-1 |
| openSUSE | Leap 15.4 | go1.19 | 1.19.9-150000.1.31.1 | SUSE-SU-2023:2127-1 |
| openSUSE | Leap 15.4 | go1.20 | 1.20.3-150000.1.8.1 | SUSE-SU-2023:1791-1 |
| openSUSE | Leap 15.4 | go1.20 | 1.20.4-150000.1.11.1 | SUSE-SU-2023:2105-1 |
| openSUSE | Tumbleweed | go1.19 | 1.19.8-1.1 | openSUSE-SU-2024:12845-1 |
| openSUSE | Tumbleweed | go1.20 | 1.20.3-1.1 | openSUSE-SU-2024:12841-1 |
| AlmaLinux | 8 | aardvark-dns | 2:1.7.0-1.module_el8.9.0+3657+d86e192f | ALSA-2023:6939 |
| AlmaLinux | 8 | buildah, buildah-tests | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | buildah, buildah-tests | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | cockpit-podman | 46-1.module_el8.7.0+3344+5bcd850f | ALSA-2023:6938 |
| AlmaLinux | 8 | cockpit-podman | 75-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | conmon | 2:2.1.4-2.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | conmon | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | container-selinux | 2:2.205.0-3.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | container-selinux | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | containernetworking-plugins | 1:1.1.1-5.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | containernetworking-plugins | 1:1.3.0-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | containers-common | 2:1-38.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| 34 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | buildah | 1:1.24.6-7.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | cockpit-podman | 0:46-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | conmon | 2:2.1.4-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | container-selinux | 2:2.205.0-3.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | containernetworking-plugins | 1:1.1.1-5.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | containers-common | 2:1-38.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | criu | 0:3.15-3.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | crun | 0:1.8.3-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | fuse-overlayfs | 0:1.9-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | libslirp | 0:4.4.0-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 RLSA-2023:6939 |
| Rocky Linux | 8 | oci-seccomp-bpf-hook | 0:1.2.5-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux | 8 | podman | 2:4.0.2-24.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| 4 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.17 | go | 1.19.8-r0 | ALPINE-CVE-2023-24538 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | go | 1.20.3-r0 | ALPINE-CVE-2023-24538 |
| Azure Linux | 2 | golang | 1.19.8-1 | AZL-25992 |
| Azure Linux | 2 | golang | 1.21.6-1 | AZL-37296 AZL-37411 |
| Azure Linux | 2 | msft-golang | 1.20.11-1 | AZL-25993 |
| Azure Linux | 3 | golang | no fix listed | AZL-78990 AZL-98649 |
| Azure Linux | 3 | golang | 1.19.8-1 | AZL-34751 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The described issue involving Go templates and JavaScript template literals poses a moderate severity rather than an important one due to several mitigating factors. Firstly, the vulnerability requires specific conditions to be met: the presence of Go templates within JavaScript template literals. This limits the scope of affected codebases, reducing the likelihood of exploitation. Additionally, the decision to disallow such interactions in future releases of Go indicates a proactive approach to addressing the issue. Furthermore, the affected packages or components within Red Hat Enterprise Linux, such as Conmon, Grafana, and the RHC package, have been assessed and determined not to be impacted due to their specific usage patterns. So the limited scope of affected systems and the absence of exploitation vectors in specific components within Red Hat Enterprise Linux contribute to categorizing the severity of the issue as moderate.
For Red Hat Enterprise Linux,
* Conmon uses go in unit testing, but not functionally in the package. Go is used only in test files, hence, not in the actual code, thus, conmon is not affected.
* The Go templates in Grafana do not contain any javascript. Thus, it is not affected.
* The rhc package do not make use of html/template. Hence, it is also not affected.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| CERT-MANAGER-1.10-RHEL-9 | cert-manager-operator-bundle-container-v1.10.3-4 | Fixed 2023-08-08 | RHSA-2023:4335 |
| CERT-MANAGER-1.10-RHEL-9 | cert-manager-operator-container-v1.10.3-2 | Fixed 2023-08-08 | RHSA-2023:4335 |
| CERT-MANAGER-1.10-RHEL-9 | jetstack-cert-manager-container-v1.10.2-18 | Fixed 2023-08-08 | RHSA-2023:4335 |
| Ironic content for Red Hat OpenShift Container Platform 4.13 | openstack-ironic-1:21.3.1-0.20230510075528.b3c902e.el9 | Fixed 2023-06-07 | RHSA-2023:3366 |
| Ironic content for Red Hat OpenShift Container Platform 4.13 | python-flask-2:2.0.1-4.el9.2 | Fixed 2023-06-13 | RHSA-2023:3536 |
| Migration Toolkit for Virtualization 2.4 | migration-toolkit-virtualization/mtv-controller-rhel9:2.4.3-5 | Fixed 2023-10-25 | RHBA-2023:6109 |
| MTA-6.2-RHEL-9 | mta/mta-hub-rhel9:6.2.0-16 | Fixed 2023-08-14 | RHSA-2023:4627 |
| OADP-1.1-RHEL-8 | oadp/oadp-velero-rhel8:1.1.5-3 | Fixed 2023-06-29 | RHSA-2023:3918 |
| Openshift Serverless 1 on RHEL 8 | openshift-serverless-clients-0:1.8.1-3.el8 | Fixed 2023-06-05 | RHSA-2023:3450 |
| OSSO-1.1-RHEL-8 | openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8:v1.1-30 | Fixed 2023-08-23 | RHSA-2023:4657 |
| Cryostat 2 | cryostat-tech-preview/cryostat-rhel8-operator | Not affected | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel9 | Not affected | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel8-operator | Affected | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Affected | |
| OpenShift Developer Tools and Services | helm | Affected | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Will not fix | |
| OpenShift Developer Tools and Services | odo | Will not fix | |
| OpenShift Pipelines | openshift-pipelines-client | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/3scale-rhel7-operator | Not affected | |
| 367 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-24538.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-24-046-11 | Siemens SCALANCE XCM-/XRM-300 | 2024-02-13 | Multiple | SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.