Off-by-one in libtASN1 - CVE-2021-46848

 

Off-by-one in libtASN1 - CVE-2021-46848

Published: October 31, 2022


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

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an ETYPE_OK off-by-one error in asn1_encode_simple_der in Libtasn1. A remote attacker can pass specially crafted data to the application, trigger an off-by-one error and perform a denial of service (DoS) attack.


Affected software

libtASN1
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
Oracle Linux
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Oracle Solaris
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Fedora
Submariner
NetObserv Operator
Migration Toolkit for Runtimes
Data Lakehouse
Service Telemetry Framework
Migration Toolkit for Virtualization
Red Hat Advanced Cluster Management for Kubernetes
IBM Watson Assistant for IBM Cloud Pak for Data
OpenShift Logging
Red Hat Migration Toolkit for Applications
Red Hat OpenStack
Oracle Communications Cloud Native Core Network Repository Function
IBM MQ Operator
Custom Metrics Autoscaler Operator for Red Hat OpenShift
Red Hat OpenShift Dev Spaces
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Power Hardware Management Console (HMC)
Node Health Check Operator
Self Node Remediation Operator
Red Hat OpenShift Serverless
OpenShift sandboxed containers
OpenShift Service Mesh
Node Maintenance Operator
Multicluster Engine for Kubernetes
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Container Platform for Windows Containers
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Dell EMC Container Storage Modules
Red Hat OpenShift GitOps
OpenShift Developer Tools and Services
IBM MQ Appliance
ObjectScale
PowerStore T
IBM Cloud Pak for Watson AIOps
IBM supplied MQ Advanced container images
EMC Cloud Tiering Appliance
Robotic Process Automation for Cloud Pak
Oracle Communications Cloud Native Core Policy
libtasn1-6 (Ubuntu package)
grub2-efi-ia32
grub2-common
grub2-efi-x64-cdboot
grub2-help
grub2-pc
grub2-efi-ia32-cdboot
grub2-tools-efi
grub2-efi-x64
grub2-efi-x64-modules
grub2-efi-aa64-modules
grub2-efi-ia32-modules
grub2-pc-modules
grub2
grub2-debugsource
grub2-tools
grub2-efi-aa64-cdboot
grub2-tools-extra
grub2-efi-aa64
grub2-debuginfo
grub2-tools-minimal
libtasn1-debuginfo
libtasn1-debugsource
libtasn1-6-debuginfo-32bit
libtasn1-6-debuginfo
libtasn1-6-32bit
libtasn1-6
libtasn1
libtasn1-devel
libtasn1 (Red Hat package)
libtasn1-doc
libtasn1-tools
libtasn1-devel-32bit
libtasn1-6-32bit-debuginfo
libtasn1-help
mingw-libtasn1
Cloud Pak for Security (CP4S)
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
Dell EMC VxRail Appliance
IBM Security Verify Access
IBM DS8000 Hardware Management Console

How to mitigate CVE-2021-46848

Install updates from vendor's website.

libtASN1 - update to 4.19.0
Submariner - update to 0.14.0
NetObserv Operator - update to 1.1.0
Node Health Check Operator - update to 0.4.1
Self Node Remediation Operator - update to 0.5.1
Migration Toolkit for Runtimes - addressed in versions 1.0.1, 1.0.2
Data Lakehouse - update to 1.1.0.0
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.1.1
Red Hat OpenShift Serverless - addressed in versions 1.27.0, 1.27.1
OpenShift API for Data Protection (OADP) - update to 1.1.2
OpenShift sandboxed containers - update to 1.4.1
Migration Toolkit for Containers - addressed in versions 1.7.7, 1.7.10
Red Hat OpenShift GitOps - addressed in versions 1.5.9, 1.6.4, 1.7, 1.10.0, 1.11, 1.12.5, 1.13.1
Service Telemetry Framework - update to 1.5.4
OpenShift Service Mesh - addressed in versions 2.3.1, 2.3.2, 2.4.8, 2.5.2
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.6.4, 2.7.0
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.0
OpenShift Developer Tools and Services - update to 4.9
Red Hat OpenShift Container Platform - addressed in versions 4.13.2, 4.13.45, 4.14.32, 4.14.33
Node Maintenance Operator - update to 5.0.1
OpenShift Logging - update to 5.6.1
Red Hat Migration Toolkit for Applications - update to 6.0.1
IBM MQ Appliance - addressed in versions 9.3.0.5, 9.3.2.1
libtasn1-6 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 3.4-3ubuntu0.6+esm1, 4.7-3ubuntu0.16.04.3+esm4, 4.13-2ubuntu0.1~esm1, 4.16.0-2ubuntu0.1+esm1, 4.18.0-4ubuntu0.2, 4.19.0-3ubuntu0.24.04.2, 4.20.0-2ubuntu0.25.04.1, 4.20.0-2ubuntu0.25.10.1
ObjectScale - update to 1.4.0
Dell EMC Container Storage Modules - update to 1.6.0
Cloud Pak for Security (CP4S) - update to 1.10.12.0
IBM MQ Operator - addressed in versions 2.0.7, 2.2.2
Multicluster Engine for Kubernetes - update to 2.5.8
grub2-efi-ia32 - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-common - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-x64-cdboot - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-help - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-pc - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-ia32-cdboot - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-tools-efi - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-x64 - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-x64-modules - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-aa64-modules - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-ia32-modules - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-pc-modules - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2 - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-debugsource - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-tools - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-aa64-cdboot - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-tools-extra - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-efi-aa64 - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-debuginfo - addressed in versions 2.06-42, 2.06-46, 2.12-15
grub2-tools-minimal - addressed in versions 2.06-42, 2.06-46, 2.12-15
Custom Metrics Autoscaler Operator for Red Hat OpenShift - update to 2.12.1-376
PowerStore T - update to 3.5.0.1-2083289
libtasn1-debuginfo - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
libtasn1-debugsource - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
libtasn1-6-debuginfo-32bit - addressed in versions 3.7-13.7.1, 4.9-3.13.1
libtasn1-6-debuginfo - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
libtasn1-6-32bit - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
libtasn1-6 - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
libtasn1 - addressed in versions 3.7-13.7.1, 4.9-3.13.1, 4.13-150000.4.8.1
Red Hat OpenShift Dev Spaces - addressed in versions 3.15.0, 3.16.0, 3.17.0
IBM Cloud Pak for Watson AIOps - update to 4.1.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.6.4
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.8.0.1
EMC ViPR SRM - update to 4.8.0.1
libtasn1-devel - addressed in versions 4.9-3.13.1, 4.13-150000.4.8.1
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
libtasn1 (Red Hat package) - addressed in versions 4.13-4.el8_7, 4.16.0-8.el9_1
libtasn1 - update to 4.13-4.0.1
libtasn1-doc - update to 4.13-4.0.1
libtasn1-tools - update to 4.13-4.0.1
libtasn1-devel - update to 4.13-4.0.1
libtasn1-devel-32bit - update to 4.13-150000.4.8.1
libtasn1-6-32bit-debuginfo - update to 4.13-150000.4.8.1
libtasn1-help - update to 4.16.0-2
libtasn1-devel - update to 4.16.0-2
libtasn1-debuginfo - update to 4.16.0-2
libtasn1-debugsource - update to 4.16.0-2
libtasn1 - update to 4.16.0-2
libtasn1 - update to 4.19.0-1
mingw-libtasn1 - addressed in versions 4.19.0-1.fc35, 4.19.0-1.fc36, 4.19.0-1.fc37
libtasn1 - update to 4.19.0-1.fc36
OpenShift Container Platform for Windows Containers - update to 7.0.0
Dell EMC VxRail Appliance - update to 7.0.411
IBM Power Hardware Management Console (HMC) - addressed in versions 9.2.950.0 SP3, 10.1.1020.0 SP1, 10.2.1030.0, 10.2.1030.0 SP1
IBM supplied MQ Advanced container images - addressed in versions 9.3.0.3-r1, 9.3.1.1-r1
IBM Security Verify Access - update to 10.0.5.0 FP001
EMC Cloud Tiering Appliance - update to 13.1.0.2.29
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.3, 23.0.3
IBM DS8000 Hardware Management Console - update to 89.33.34.0

External References

Related Security Bulletins