OS Command Injection in less - CVE-2022-48624
Published: February 28, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the close_altfile() function in filename.c. A remote attacker can trick the victim into using a specially crafted argument for the less command and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Amazon Linux AMI
Oracle Linux
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Brocade Fabric OS
Ubuntu
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
openSUSE Leap
openEuler
Dell Data Protection Central
PowerProtect DP Series Appliance (IDPA)
IBM Cloud Pak for Watson AIOps
Storage Resource Manager
EMC Cloud Tiering Appliance
SmartFabric Storage Software
Red Hat OpenShift GitOps
IBM QRadar Network Packet Capture
OpenShift Service Mesh
Multicluster Engine for Kubernetes
OpenShift Virtualization
Cryostat
Red Hat Advanced Cluster Management for Kubernetes
Red Hat OpenShift Dev Spaces
Red Hat Advanced Cluster Security for Kubernetes
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
OpenShift Logging
Dell Secure Connect Gateway
Red Hat Migration Toolkit for Applications
IBM Security Verify Governance
IBM Power Hardware Management Console (HMC)
RecoverPoint for Virtual Machines
IBM Qradar SIEM
Juniper Secure Analytics (JSA)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
less (Ubuntu package)
less
less-debuginfo
less-debugsource
less-doc
less (Red Hat package)
less (Debian package)
less-help
OpenShift API for Data Protection (OADP)
Dell EMC Storage Monitoring and Reporting (SMR)
Dell EMC VxRail Appliance
How to mitigate CVE-2022-48624
SmartFabric Storage Software - update to 1.4.3
Migration Toolkit for Containers - addressed in versions 1.7.15, 1.8.4
Red Hat OpenShift GitOps - addressed in versions 1.10.4, 1.11.3, 1.11.6, 1.12.1, 1.12.5, 1.13.1
OpenShift Service Mesh - addressed in versions 2.5.1, 2.5.2
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
IBM Qradar SIEM - addressed in versions 7.5.0 Update Pack 8 IF02, 7.5.0 Update Pack 9 IF01
Juniper Secure Analytics (JSA) - addressed in versions 7.5.0 UP8 IF03, 7.5.0 UP9 IF02
Brocade Fabric OS - addressed in versions 9.2.0c, 9.2.1a1, 9.2.2
less (Ubuntu package) - addressed in versions Ubuntu Pro, 458-2ubuntu0.1~esm2, 551-1ubuntu0.2, 590-1ubuntu0.22.04.2, 590-2ubuntu0.23.10.1
OpenShift API for Data Protection (OADP) - update to 1.3.2
Multicluster Engine for Kubernetes - update to 2.4.6
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.8.7, 2.9.5
Red Hat OpenShift Dev Spaces - update to 3.15.0
Red Hat Advanced Cluster Security for Kubernetes - update to 4.5.0
IBM Cloud Pak for Watson AIOps - update to 4.6.0
Red Hat OpenShift Container Platform - addressed in versions 4.13.45, 4.14.32, 4.14.33, 4.15.12, 4.15.21
OpenShift Virtualization - update to 4.14.6
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.0
Storage Resource Manager - update to 5.0.1.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 5.0.1.0
App Connect Enterprise Certified Container - addressed in versions 5.0.17, 11.5.0
OpenShift Logging - addressed in versions 5.6.18, 5.6.21, 5.7.13
Dell Secure Connect Gateway - update to 5.24.00.14
Red Hat Migration Toolkit for Applications - update to 7.0.3
IBM QRadar Network Packet Capture - update to 7.5.0 Update Package 10
Dell EMC VxRail Appliance - update to 8.0.212
IBM Security Verify Governance - update to 10.0.2.0.4
IBM Power Hardware Management Console (HMC) - addressed in versions 10.2.1040.0 SP2, 10.3.1060.0
EMC Cloud Tiering Appliance - update to 13.2.0.2.29
less - addressed in versions 436-13.13, 608-2
less-debuginfo - addressed in versions 458-7.12.1, 530-150000.3.6.2, 590-150400.3.6.2
less - addressed in versions 458-7.12.1, 530-150000.3.6.2, 590-150400.3.6.2
less-debugsource - addressed in versions 458-7.12.1, 530-150000.3.6.2, 590-150400.3.6.2
less-doc - addressed in versions 530-1.0.2, 530-3.0.1
less - addressed in versions 530-1.0.2, 530-3.0.1
less (Red Hat package) - addressed in versions 530-2.el8_6, 530-2.el8_8, 530-2.el8_9, 590-3.el9_3
less (Debian package) - addressed in versions 551-2+deb11u2, 590-2.1~deb12u2
less - update to 590-3
less-debuginfo - update to 590-3
less-debugsource - update to 590-3
less-help - update to 590-3
External References
Related Security Bulletins
- OS command injection in less
- Ubuntu update for less
- Amazon Linux AMI update for less
- openEuler update for less
- Red Hat Enterprise Linux 8 update for less
- Red Hat Enterprise Linux 9 update for less
- SUSE update for less
- SUSE update for less
- SUSE update for less
- Multiple vulnerabilities in Oracle Linux
- Red Hat Enterprise Linux 8.8 Extended Update Support update for less
- Multiple vulnerabilities in Red Hat OpenShift Service Mesh Containers 2.5
- Red Hat Enterprise Linux 8.6 Extended Update Support update for less
- Multiple vulnerabilities in Red Hat OpenShift GitOps
- Multiple vulnerabilities in Red Hat OpenShift GitOps 1.10
- Multiple vulnerabilities in Red Hat OpenShift GitOps 1.12
- Multiple vulnerabilities in Red Hat Migration Toolkit for Containers (MTC) 1.7
- Multiple vulnerabilities in IBM QRadar SIEM
- Multiple vulnerabilities in IBM App Connect Enterprise Certified Container
- Multiple vulnerabilities in Dell Secure Connect Gateway
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in OpenShift Logging 5.7
- Multiple vulnerabilities in OpenShift Logging 5.6
- Multiple vulnerabilities in OpenShift Virtualization 4.14
- Multiple vulnerabilities in OpenShift API for Data Protection (OADP) 1.3
- Multiple vulnerabilities in OpenShift Service Mesh 2.5
- Multiple vulnerabilities in Dell Cloud Tiering Appliance
- Multiple vulnerabilities in Juniper Secure Analytics (JSA)
- Multiple vulnerabilities in Dell EMC VxRail Appliance
- Debian update for less
- OS command injection in IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
- Multiple vulnerabilities in Oracle Linux
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.13
- Multiple vulnerabilities in Red Hat OpenShift GitOps 1.11
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Dev Spaces
- Multiple vulnerabilities in OpenShift Logging 5.6
- Multiple vulnerabilities in Red Hat Advanced Cluster Security for Kubernetes 4.5.0
- Multiple vulnerabilities in IBM Cloud Pak for AIOps
- Multiple vulnerabilities in Red Hat build of Cryostat 3 on RHEL 8
- Multiple vulnerabilities in Red Hat OpenShift GitOps 1.13
- Multiple vulnerabilities in Dell Storage Resource Manager (SRM) and Dell Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Dell Data Protection Central
- Multiple vulnerabilities in Red Hat OpenShift GitOps 1.12
- Amazon Linux AMI update for less
- Multiple vulnerabilities in Red Hat Advanced Cluster Management for Kubernetes 2.8
- Multiple vulnerabilities in IBM QRadar SIEM
- OS Command Injection in IBM Power Hardware Management Console (HMC)
- Multiple vulnerabilities in Juniper Secure Analytics (JSA)
- Multiple vulnerabilities in Migration Toolkit for Containers 1.8
- Multiple vulnerabilities in IBM Security Verify Governance - Identity Manager
- Multiple vulnerabilities in IBM QRadar Network Packet Capture
- Multiple vulnerabilities in Multicluster Engine for Kubernetes 2.4
- Multiple vulnerabilities in Red Hat Advanced Cluster Management for Kubernetes 2.9
- Multiple vulnerabilities in Brocade Fabric OS
- Anolis OS update for less
- Anolis OS update for less
- Dell SmartFabric Storage Software update for third-party components
- Dell RecoverPoint for Virtual Machines update for third-party components
- Ubuntu update for less
- Multiple vulnerabilities in Red Hat Migration Toolkit for Applications 7.0