Code Injection in Go programming language - CVE-2023-24540

 

Code Injection in Go programming language - CVE-2023-24540

Published: May 8, 2023


Vulnerability identifier: #VU75791
CSH Severity: Medium
CVSS v4 BT: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2023-24540
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation when processing whitespace characters. A remote attacker can send a specially crafted request and execute arbitrary JavaScript code.


Affected software

Go programming language
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Oracle Solaris
SUSE Linux Enterprise Server 15 SP3 LTSS
Development Tools Module
openSUSE Leap
openEuler
Ubuntu
DB2 on Cloud Pak for Data
DB2 Warehouse on Cloud Pak for Data
watsonx Orchestrate Cartridge for IBM Cloud Pak for Data
IBM Business Automation Manager Open Editions
ObjectScale
Storage Copy Data Management
Cloud Pak for Network Automation
IBM Cloud Pak for Watson AIOps
Storage Protect Server
IBM supplied MQ Advanced container images
IBM Sterling Order Management
Storage Protect Plus Container Agent
Dell PowerProtect Cyber Recovery
Robotic Process Automation for Cloud Pak
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
Run Once Duration Override Operator for Red Hat OpenShift
cert-manager Operator for Red Hat OpenShift
Ansible Automation Platform
Red Hat Advanced Cluster Management for Kubernetes
Red Hat Advanced Cluster Security for Kubernetes
Red Hat OpenStack
IBM MQ Operator
IBM Cloud Pak for Multicloud Management Monitoring
IBM Cloud Transformation Advisor
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Cloud Pak for Data Scheduling
Red Hat Migration Toolkit for Applications
IBM Observability with Instana
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Operations Dashboard
Gitea
OpenShift API for Data Protection (OADP)
Network Observability plugin for the Openshift Console
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Multicluster Engine for Kubernetes
OpenShift Virtualization
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Service Mesh
Splunk Enterprise
toolbox
toolbox-tests
toolbox (Red Hat package)
udica
containernetworking-plugins (Red Hat package)
runc (Red Hat package)
runc
slirp4netns
skopeo (Red Hat package)
oci-seccomp-bpf-hook
containernetworking-plugins
aardvark-dns
netavark
crun
delve
fuse-overlayfs
skopeo-tests
skopeo
golang-help
golang
golang-devel
golang-1.19 (Ubuntu package)
golang-1.19-src (Ubuntu package)
golang-1.19-go (Ubuntu package)
go-toolset
go-toolset-1.19 (Red Hat package)
go-toolset-1.19-golang (Red Hat package)
go-toolset (Red Hat package)
golang-tests
golang-src
golang-bin
golang-race
golang-docs
golang-misc
buildah (Red Hat package)
golang (Red Hat package)
go1.19
go1.19-doc
go1.19-race
golang-1.20-go (Ubuntu package)
golang-1.20 (Ubuntu package)
golang-1.20-src (Ubuntu package)
go1.20
go1.20-doc
go1.20-race
go1.20-debuginfo
dev-lang/go
cri-o (Red Hat package)
buildah-tests
buildah
containers-common
python-flask (Red Hat package)
conmon (Red Hat package)
conmon
container-selinux
jenkins (Red Hat package)
podman (Red Hat package)
etcd (Red Hat package)
criu
criu-libs
criu-devel
crit
python3-criu
libslirp-devel
libslirp
python3-podman
podman-docker
podman
podman-catatonit
podman-gvproxy
podman-plugins
podman-remote
podman-tests
openshift-kuryr (Red Hat package)
openshift (Red Hat package)
openshift-ansible (Red Hat package)
openshift-clients (Red Hat package)
jenkins-2-plugins (Red Hat package)
kubevirt (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
cockpit-podman
watsonx.data
IBM Cloud Pak System
Red Hat Ceph Storage
AMQ Broker
IBM CICS TX Standard
IBM CICS TX Advanced
Event Streams

How to mitigate CVE-2023-24540

Install updates from vendor's website.

Go programming language - addressed in versions 1.19.9, 1.20.4
Run Once Duration Override Operator for Red Hat OpenShift - update to 1.0.1
Gitea - update to 1.19.3
OpenShift API for Data Protection (OADP) - addressed in versions 1.0.11, 1.1.5
Migration Toolkit for Containers - update to 1.7.10
cert-manager Operator for Red Hat OpenShift - update to 1.10.3
Multicluster Engine for Kubernetes - update to 2.3.2
Red Hat Advanced Cluster Management for Kubernetes - update to 2.8.2
Red Hat Advanced Cluster Security for Kubernetes - addressed in versions 3.73.5, 3.74.4, 4.0.2
watsonx Orchestrate Cartridge for IBM Cloud Pak for Data - update to 5.3
Red Hat OpenShift Container Platform - addressed in versions 4.10.63, 4.11.43, 4.11.44, 4.12.20, 4.12.21, 4.12.23, 4.13.2, 4.13.4
OpenShift Virtualization - addressed in versions 4.12.5, 4.13.3
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.3
IBM Business Automation Manager Open Editions - update to 8.0.7
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
toolbox - update to 0.0.99.4-5.0.1
toolbox-tests - update to 0.0.99.4-5.0.1
toolbox (Red Hat package) - update to 0.0.99.4-6.el9_3
udica - update to 0.2.6-20
containernetworking-plugins (Red Hat package) - addressed in versions 1.0.1-6.rhaos4.11.el8, 1.0.1-7.rhaos4.13.el8, 1.3.0-4.el9
runc (Red Hat package) - addressed in versions 1.1.2-2.rhaos4.11.el8, 1.1.6-4.rhaos4.13.el8
runc - update to 1.1.12-1.0.1
slirp4netns - update to 1.2.1-1
skopeo (Red Hat package) - addressed in versions 1.2.4-1.1.el8, 1.5.2-4.rhaos4.11.el8, 1.11.2-2.rhaos4.13.el8, 1.11.2-2.1.rhaos4.13.el9, 1.13.3-1.el9
oci-seccomp-bpf-hook - update to 1.2.9-1
Network Observability plugin for the Openshift Console - update to 1.3.0
containernetworking-plugins - update to 1.3.0-8.0.1
ObjectScale - update to 1.4.0
aardvark-dns - update to 1.7.0-2.0.1
netavark - update to 1.7.0-2.0.1
crun - update to 1.8.7-1
delve - update to 1.9.1-1.0.1
fuse-overlayfs - update to 1.12-1.0.1
skopeo-tests - update to 1.13.3-3.0.1
skopeo - update to 1.13.3-3.0.1
golang-help - update to 1.15.7-27
golang - update to 1.15.7-27
golang-devel - update to 1.15.7-27
golang - addressed in versions 1.18.6-1.44, 1.19.9-1
golang-1.19 (Ubuntu package) - addressed in versions 1.19.2-1ubuntu1.1, 1.19.8-1ubuntu0.1
golang-1.19-src (Ubuntu package) - addressed in versions 1.19.2-1ubuntu1.1, 1.19.8-1ubuntu0.1
golang-1.19-go (Ubuntu package) - addressed in versions 1.19.2-1ubuntu1.1, 1.19.8-1ubuntu0.1
go-toolset - update to 1.19.9-1
golang - update to 1.19.9-1.el7
go-toolset-1.19 (Red Hat package) - update to 1.19.9-1.el7_9
go-toolset-1.19-golang (Red Hat package) - update to 1.19.9-1.el7_9
go-toolset (Red Hat package) - update to 1.19.9-1.el9_2
golang - update to 1.19.9-1.0.1
golang-tests - update to 1.19.9-1.0.1
golang-src - update to 1.19.9-1.0.1
golang-bin - update to 1.19.9-1.0.1
golang-race - update to 1.19.9-1.0.1
golang-docs - update to 1.19.9-1.0.1
golang-misc - update to 1.19.9-1.0.1
buildah (Red Hat package) - addressed in versions 1.19.9-1.1.el8, 1.23.4-3.rhaos4.11.el8, 1.29.1-2.rhaos4.13.el8, 1.29.1-2.1.rhaos4.13.el9, 1.31.3-1.el9
golang (Red Hat package) - update to 1.19.9-2.el9_2
go1.19 - update to 1.19.9-150000.1.31.1
go1.19-doc - update to 1.19.9-150000.1.31.1
go1.19-race - update to 1.19.9-150000.1.31.1
golang-1.20-go (Ubuntu package) - update to 1.20.3-1ubuntu0.1
golang-1.20 (Ubuntu package) - update to 1.20.3-1ubuntu0.1
golang-1.20-src (Ubuntu package) - update to 1.20.3-1ubuntu0.1
go1.20 - update to 1.20.4-150000.1.11.1
go1.20-doc - update to 1.20.4-150000.1.11.1
go1.20-race - update to 1.20.4-150000.1.11.1
go1.20-debuginfo - update to 1.20.4-150000.1.11.1
dev-lang/go - update to 1.22.3
cri-o (Red Hat package) - addressed in versions 1.24.6-2.rhaos4.11.git4bfe15a.el8, 1.26.3-9.rhaos4.13.git994242a.el8, 1.26.3-10.rhaos4.13.git994242a.el9
buildah-tests - update to 1.31.3-1
buildah - update to 1.31.3-1
containers-common - update to 1-71.0.1
python-flask (Red Hat package) - update to 2.0.1-3.el9
watsonx.data - update to 2.0.2
IBM MQ Operator - addressed in versions 2.0.13, 2.4.2
conmon (Red Hat package) - addressed in versions 2.1.2-3.rhaos4.11.el8, 2.1.7-2.rhaos4.13.el8, 2.1.7-2.1.rhaos4.13.el9
conmon - update to 2.1.8-1
Storage Copy Data Management - update to 2.2.20.1
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
IBM Cloud Pak System - update to 2.3.3.6 iFix 1
OpenShift Service Mesh - update to 2.4.0
Cloud Pak for Network Automation - update to 2.6.0
container-selinux - update to 2.221.0-1
jenkins (Red Hat package) - update to 2.401.1.1687268694-1.el8
podman (Red Hat package) - addressed in versions 3.2.3-1.1.rhaos4.10.el8, 4.0.2-7.rhaos4.11.el8, 4.2.0-4.1.rhaos4.12.el8, 4.4.1-4.rhaos4.13.el8, 4.4.1-5.1.rhaos4.13.el9, 4.6.1-5.el9
etcd (Red Hat package) - update to 3.3.23-14.el8ost
IBM Cloud Transformation Advisor - update to 3.7.0
criu - update to 3.18-5
criu-libs - update to 3.18-5
criu-devel - update to 3.18-5
crit - update to 3.18-5
python3-criu - update to 3.18-5
IBM Cloud Pak for Watson AIOps - update to 4.2.0
libslirp-devel - update to 4.4.0-1
libslirp - update to 4.4.0-1
python3-podman - update to 4.6.0-1
podman-docker - update to 4.6.1-8.0.1
podman - update to 4.6.1-8.0.1
podman-catatonit - update to 4.6.1-8.0.1
podman-gvproxy - update to 4.6.1-8.0.1
podman-plugins - update to 4.6.1-8.0.1
podman-remote - update to 4.6.1-8.0.1
podman-tests - update to 4.6.1-8.0.1
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.7.1
IBM Cloud Pak for Data Scheduling - update to 4.8.0
openshift-kuryr (Red Hat package) - addressed in versions 4.10.0-202306170106.p0.g8e4df8b.assembly.stream.el8, 4.11.0-202306280915.p0.gc732699.assembly.stream.el8
openshift (Red Hat package) - addressed in versions 4.10.0-202306170106.p0.g16bcd69.assembly.stream.el7, 4.10.0-202306170106.p0.g16bcd69.assembly.stream.el8, 4.11.0-202306260054.p0.g990d55b.assembly.stream.el8, 4.13.0-202306072143.p0.g7d22122.assembly.stream.el8, 4.13.0-202306072143.p0.g7d22122.assembly.stream.el9
openshift-ansible (Red Hat package) - addressed in versions 4.10.0-202306170106.p0.g72c7be6.assembly.stream.el7, 4.10.0-202306170106.p0.g72c7be6.assembly.stream.el8, 4.11.0-202306230041.p0.g0a466d7.assembly.stream.el8
openshift-clients (Red Hat package) - addressed in versions 4.10.0-202306261054.p0.g22cf04a.assembly.stream.el7, 4.10.0-202306261054.p0.g22cf04a.assembly.stream.el8, 4.11.0-202306231116.p0.g2ae2303.assembly.stream.el8, 4.12.0-202307200611.p0.g49844f7.assembly.stream.el8
jenkins-2-plugins (Red Hat package) - update to 4.10.1687341544-1.el8
kubevirt (Red Hat package) - addressed in versions 4.12.5-1189.el7, 4.12.5-1189.el8
kernel (Red Hat package) - addressed in versions 4.18.0-305.95.1.el8_4, 5.14.0-284.18.1.el9_2
kernel-rt (Red Hat package) - addressed in versions 4.18.0-305.95.1.rt7.170.el8_4, 5.14.0-284.18.1.rt14.303.el9_2
Red Hat Ceph Storage - update to 5.3
Red Hat Migration Toolkit for Applications - update to 6.2.0
AMQ Broker - update to 7.12.0
Storage Protect Server - update to 8.1.20
IBM supplied MQ Advanced container images - update to 9.3.0.10-r1
IBM Sterling Order Management - update to 10.0.2403.1
Storage Protect Plus Container Agent - update to 10.1.12.6
IBM CICS TX Standard - update to 11.1.0.0 ifix13
IBM CICS TX Advanced - update to 11.1.0.0 ifix13
Event Streams - update to 11.2.0
Dell PowerProtect Cyber Recovery - update to 19.14.0.2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.11, 23.0.12
cockpit-podman - update to 75-1
IBM Observability with Instana - update to 281
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-10
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2022.2.1-11, 2023.2.1-0
Operations Dashboard - update to 2022.2.1-12-lts

External References

Related Security Bulletins