Cross-site scripting in Go programming language - CVE-2023-24539

 

Cross-site scripting in Go programming language - CVE-2023-24539

Published: May 8, 2023


Vulnerability identifier: #VU75790
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-24539
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when handling angle brackets in CSS context. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


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 15
SUSE Linux Enterprise High Performance Computing ESPOS 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 Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Oracle Solaris
SUSE Linux Enterprise Server 15 SP3 LTSS
Development Tools Module
openSUSE Leap
openEuler
Ubuntu
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
watsonx Orchestrate Cartridge for IBM Cloud Pak for Data
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)
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
Gitea
OpenShift API for Data Protection (OADP)
Network Observability plugin for the Openshift Console
Run Once Duration Override Operator for Red Hat OpenShift
cert-manager Operator for Red Hat OpenShift
Ansible Automation Platform
Migration Toolkit for Virtualization
Red Hat Advanced Cluster Management for Kubernetes
Red Hat Advanced Cluster Security for Kubernetes
Red Hat OpenStack
Red Hat Application Interconnect
IBM MQ Operator
IBM Cloud Pak for Multicloud Management Monitoring
IBM Cloud Transformation Advisor
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Watson Assistant for IBM Cloud Pak for Data
IBM Cloud Pak for Data Scheduling
App Connect Enterprise Certified Container
Red Hat Migration Toolkit for Applications
IBM Observability with Instana
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Operations Dashboard
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Virtualization
OpenShift Data Foundation (formerly OpenShift Container Storage)
Red Hat OpenShift Container Platform
Dell EMC Container Storage Modules
Migration Toolkit for Containers
Splunk Enterprise
golang-1.19 (Ubuntu package)
golang-1.19-go (Ubuntu package)
golang-1.19-src (Ubuntu package)
golang-1.20-src (Ubuntu package)
golang-1.20 (Ubuntu package)
golang-1.20-go (Ubuntu package)
toolbox
toolbox-tests
toolbox (Red Hat package)
udica
qpid-proton (Red Hat package)
containers-common
containernetworking-plugins (Red Hat package)
runc
slirp4netns
oci-seccomp-bpf-hook
containernetworking-plugins
skupper-cli (Red Hat package)
netavark
aardvark-dns
crun
jsoncpp (Red Hat package)
fuse-overlayfs
skopeo (Red Hat package)
skopeo
skopeo-tests
golang-help
golang
golang-devel
go-toolset-1.19-golang (Red Hat package)
go-toolset-1.19 (Red Hat package)
go1.19-race
go1.19
go1.19-doc
go1.20-doc
go1.20-race
go1.20
go1.20-debuginfo
cri-tools (Red Hat package)
cri-o (Red Hat package)
buildah
buildah-tests
buildah (Red Hat package)
conmon
nmstate (Red Hat package)
skupper-router (Red Hat package)
container-selinux (Red Hat package)
container-selinux
openvswitch3.1 (Red Hat package)
etcd (Red Hat package)
criu-libs
criu-devel
criu
crit
python3-criu
libwebsockets (Red Hat package)
libslirp
libslirp-devel
python3-podman
podman (Red Hat package)
podman-catatonit
podman
podman-docker
podman-tests
podman-gvproxy
podman-plugins
podman-remote
openshift-clients (Red Hat package)
openshift-ansible (Red Hat package)
openshift4-aws-iso (Red Hat package)
openshift-kuryr (Red Hat package)
openshift (Red Hat package)
microshift (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
openstack-ironic (Red Hat package)
ovn23.06 (Red Hat package)
ovn23.09 (Red Hat package)
cockpit-podman
dev-lang/go
watsonx.data
IBM Cloud Pak System
AMQ Broker
IBM CICS TX Advanced
IBM CICS TX Standard
Event Streams

How to mitigate CVE-2023-24539

Install updates from vendor's website.

Go programming language - addressed in versions 1.19.9, 1.20.4
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.1.2
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) - update to 1.1.5
cert-manager Operator for Red Hat OpenShift - update to 1.10.3
Red Hat OpenShift Serverless - update to 1.29.1
Multicluster Engine for Kubernetes - update to 2.3.2
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat Advanced Cluster Management for Kubernetes - update to 2.8.2
Red Hat Advanced Cluster Security for Kubernetes - addressed in versions 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.13.2, 4.13.3, 4.13.5, 4.13.6, 4.13.8
OpenShift Virtualization - update to 4.13.3
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
golang-1.19 (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
golang-1.19-src (Ubuntu package) - addressed in versions 1.19.2-1ubuntu1.1, 1.19.8-1ubuntu0.1
golang-1.20-src (Ubuntu package) - update to 1.20.3-1ubuntu0.1
golang-1.20 (Ubuntu package) - update to 1.20.3-1ubuntu0.1
golang-1.20-go (Ubuntu package) - update to 1.20.3-1ubuntu0.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
qpid-proton (Red Hat package) - addressed in versions 0.37.0-2.el8ai, 0.37.0-2.el9ai
containers-common - update to 1-71.0.1
containernetworking-plugins (Red Hat package) - addressed in versions 1.0.1-8.rhaos4.13.el8, 1.3.0-4.el9
runc - update to 1.1.12-1.0.1
slirp4netns - update to 1.2.1-1
oci-seccomp-bpf-hook - update to 1.2.9-1
containernetworking-plugins - update to 1.3.0-8.0.1
skupper-cli (Red Hat package) - addressed in versions 1.4.1-2.el8, 1.4.1-2.el9
netavark - update to 1.7.0-2.0.1
aardvark-dns - update to 1.7.0-2.0.1
crun - update to 1.8.7-1
jsoncpp (Red Hat package) - update to 1.9.4-3.el9
fuse-overlayfs - update to 1.12-1.0.1
skopeo (Red Hat package) - update to 1.13.3-1.el9
skopeo - update to 1.13.3-3.0.1
skopeo-tests - 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 - update to 1.19.9-1.el7
go-toolset-1.19-golang (Red Hat package) - update to 1.19.9-1.el7_9
go-toolset-1.19 (Red Hat package) - update to 1.19.9-1.el7_9
go1.19-race - update to 1.19.9-150000.1.31.1
go1.19 - update to 1.19.9-150000.1.31.1
go1.19-doc - update to 1.19.9-150000.1.31.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 - update to 1.20.4-150000.1.11.1
go1.20-debuginfo - update to 1.20.4-150000.1.11.1
cri-tools (Red Hat package) - update to 1.26.0-3.el9
cri-o (Red Hat package) - addressed in versions 1.26.3-10.rhaos4.13.git78941bf.el8, 1.26.3-11.rhaos4.13.git78941bf.el9
buildah - update to 1.31.3-1
buildah-tests - update to 1.31.3-1
buildah (Red Hat package) - update to 1.31.3-1.el9
conmon - update to 2.1.8-1
nmstate (Red Hat package) - update to 2.2.12-1.rhaos4.13.el8
skupper-router (Red Hat package) - addressed in versions 2.4.1-2.el8, 2.4.1-2.el9
container-selinux (Red Hat package) - update to 2.215.0-1.rhaos4.13.el8
container-selinux - update to 2.221.0-1
openvswitch3.1 (Red Hat package) - update to 3.1.0-32.el9fdp
etcd (Red Hat package) - update to 3.3.23-14.el8ost
criu-libs - update to 3.18-5
criu-devel - update to 3.18-5
criu - update to 3.18-5
crit - update to 3.18-5
python3-criu - update to 3.18-5
libwebsockets (Red Hat package) - addressed in versions 4.3.1-1.el8ai, 4.3.1-1.el9ai
libslirp - update to 4.4.0-1
libslirp-devel - update to 4.4.0-1
python3-podman - update to 4.6.0-1
podman (Red Hat package) - update to 4.6.1-5.el9
podman-catatonit - update to 4.6.1-8.0.1
podman - update to 4.6.1-8.0.1
podman-docker - update to 4.6.1-8.0.1
podman-tests - 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
openshift-clients (Red Hat package) - addressed in versions 4.12.0-202307200611.p0.g49844f7.assembly.stream.el8, 4.13.0-202306230038.p0.ge4c9a6a.assembly.stream.el8, 4.13.0-202306230038.p0.ge4c9a6a.assembly.stream.el9, 4.13.0-202307282024.p0.ge251b5e.assembly.stream.el8, 4.13.0-202307282024.p0.ge251b5e.assembly.stream.el9
openshift-ansible (Red Hat package) - addressed in versions 4.13.0-202306230038.p0.g148be47.assembly.stream.el8, 4.13.0-202306230038.p0.g148be47.assembly.stream.el9
openshift4-aws-iso (Red Hat package) - update to 4.13.0-202306230038.p0.gd2acdd5.assembly.stream.el8
openshift-kuryr (Red Hat package) - addressed in versions 4.13.0-202306281017.p0.g5baee73.assembly.stream.el8, 4.13.0-202307191602.p0.g36754b7.assembly.stream.el8
openshift (Red Hat package) - addressed in versions 4.13.0-202307132344.p0.gf245ced.assembly.stream.el8, 4.13.0-202307132344.p0.gf245ced.assembly.stream.el9
microshift (Red Hat package) - update to 4.13.3-202306081201.p0.g16708cc.assembly.4.13.3.el9
kernel (Red Hat package) - update to 5.14.0-284.23.1.el9_2
kernel-rt (Red Hat package) - update to 5.14.0-284.23.1.rt14.308.el9_2
openstack-ironic (Red Hat package) - update to 21.3.1-0.20230706125653.c8f8157.el9
ovn23.06 (Red Hat package) - addressed in versions 23.06.0-13.el9fdp, 23.06.0-51.el9fdp
ovn23.09 (Red Hat package) - update to 23.09.0 alpha.78.el9fdp
cockpit-podman - update to 75-1
Network Observability plugin for the Openshift Console - update to 1.3.0
ObjectScale - update to 1.4.0
Red Hat Application Interconnect - update to 1.4
Dell EMC Container Storage Modules - update to 1.7.0
Migration Toolkit for Containers - update to 1.7.11
watsonx.data - update to 2.0.1
IBM MQ Operator - addressed in versions 2.0.13, 2.4.2
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
Cloud Pak for Network Automation - update to 2.6.0
IBM Cloud Transformation Advisor - update to 3.7.0
IBM Cloud Pak for Watson AIOps - update to 4.2.0
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.7.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.7.1
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.4
IBM Cloud Pak for Data Scheduling - update to 4.8.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.14.0
App Connect Enterprise Certified Container - addressed in versions 5.0.8, 9.0.0
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 Advanced - update to 11.1.0.0 ifix13
IBM CICS TX Standard - 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
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
dev-lang/go - update to 1.22.3

External References

Related Security Bulletins