CVE-2020-10531 Integer overflow in n/a

High 8.8 Published Updated

An integer overflow in ICU's UnicodeString::doAppend() leads to a heap-based buffer overflow, potentially allowing code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-10531?

CVE-2020-10531 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 12 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in International Components for Unicode (ICU) for C/C++ through 66.1. An integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend() function in common/unistr.cpp.

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2020-10531?

2 open source packages ship an affected version, including node and node-min. It affects 11 products.

PackageAffectedFixed in
node BitnamiFrom 10.13.010.21.0
node-min BitnamiFrom 10.13.010.21.0
Linux distribution packages (38)
icu AlmaLinux:8All versions60.3-2.el8_1
libicu AlmaLinux:8All versions60.3-2.el8_1
libicu-devel AlmaLinux:8All versions60.3-2.el8_1
libicu-doc AlmaLinux:8All versions60.3-2.el8_1
nodejs-nodemon AlmaLinux:8All versions1.18.3-1.module_el8.3.0+2023+d2377ea3
nodejs-nodemon AlmaLinux:8All versions1.18.3-1.module_el8.3.0+2023+d2377ea3
nodejs-nodemon AlmaLinux:8All versions1.18.3-1.module_el8.3.0+2047+b07ac28e
nodejs-nodemon AlmaLinux:8All versions1.18.3-1.module_el8.3.0+2047+b07ac28e
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.3.0+2023+d2377ea3
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.3.0+2023+d2377ea3
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.4.0+2224+b07ac28e
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.4.0+2224+b07ac28e
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.4.0+2521+c668cc9f
nodejs-packaging AlmaLinux:8All versions17-3.module_el8.4.0+2521+c668cc9f
icu Red Hat:enterprise_linux:6::clientAll versions0:4.2.1-15.el6_10
icu-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:4.2.1-15.el6_10
libicu Red Hat:enterprise_linux:6::clientAll versions0:4.2.1-15.el6_10
libicu-devel Red Hat:enterprise_linux:6::clientAll versions0:4.2.1-15.el6_10
libicu-doc Red Hat:enterprise_linux:6::clientAll versions0:4.2.1-15.el6_10
icu Red Hat:enterprise_linux:6::computenodeAll versions0:4.2.1-15.el6_10
icu-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:4.2.1-15.el6_10
libicu Red Hat:enterprise_linux:6::computenodeAll versions0:4.2.1-15.el6_10
libicu-devel Red Hat:enterprise_linux:6::computenodeAll versions0:4.2.1-15.el6_10
libicu-doc Red Hat:enterprise_linux:6::computenodeAll versions0:4.2.1-15.el6_10
icu Red Hat:enterprise_linux:6::serverAll versions0:4.2.1-15.el6_10
icu-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:4.2.1-15.el6_10
libicu Red Hat:enterprise_linux:6::serverAll versions0:4.2.1-15.el6_10
libicu-devel Red Hat:enterprise_linux:6::serverAll versions0:4.2.1-15.el6_10
libicu-doc Red Hat:enterprise_linux:6::serverAll versions0:4.2.1-15.el6_10
icu Red Hat:enterprise_linux:6::workstationAll versions0:4.2.1-15.el6_10
icu-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:4.2.1-15.el6_10
libicu Red Hat:enterprise_linux:6::workstationAll versions0:4.2.1-15.el6_10
libicu-devel Red Hat:enterprise_linux:6::workstationAll versions0:4.2.1-15.el6_10
libicu-doc Red Hat:enterprise_linux:6::workstationAll versions0:4.2.1-15.el6_10
icu Red Hat:enterprise_linux:7::clientAll versions0:50.2-4.el7_7
icu-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:50.2-4.el7_7
libicu Red Hat:enterprise_linux:7::clientAll versions0:50.2-4.el7_7
libicu-devel Red Hat:enterprise_linux:7::clientAll versions0:50.2-4.el7_7

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Google Chrome, Icu-Project International Components for Unicode, Nodejs Node.js and 5 more.

How do I fix CVE-2020-10531?

Upgrade node to 10.21.0 or later.

Is CVE-2020-10531 being exploited?

There is no known exploitation of CVE-2020-10531 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-10531, ALSA-2020:0902, ALSA-2020:1293, ALSA-2020:1317, BIT-node-2020-10531, BIT-node-min-2020-10531 and 23 more.

Is CVE-2020-10531 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free