CVE-2021-23840 in the critical feed json
Integer overflow in CipherUpdate
published 2021-02-16 5 y ago modified 2026-10-16 24 d ago also BIT-node-2021-23840 , BIT-node-min-2021-23840 , EUVD-2021-1843 , GHSA-qgm6-9472-pwq7 , JLSEC-2026-221 , RUSTSEC-2021-0057
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 50.7%
- EPSS 50.7% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).
Patch / fix
- crates.io openssl-src 111.14.0
- bitnami node 10.12.1, 10.24.0, 12.12.1, 12.21.0, 14.14.1, 14.15.1, 15.10.0
- bitnami node-min 10.12.1, 10.24.0, 12.12.1, 12.21.0, 14.14.1, 14.15.1, 15.10.0
- julia OpenSSL_jll 1.1.10+0
- julia Openresty_jll 1.19.9+0
- openssl openssl 1.0.2y, 1.1.1j
- tenable log_correlation_engine 6.0.8
- oracle jd_edwards_enterpriseone_tools 9.2.6.0
- oracle mysql_server 5.7.33, 8.0.23
- oracle nosql_database 20.3
- mcafee epolicy_orchestrator 5.10.0
- nodejs node.js 10.24.0, 12.21.0, 15.10.0
- fujitsu m10-1_firmware xcp2410, xcp3110
- fujitsu m10-4_firmware xcp2410, xcp3110
- fujitsu m10-4s_firmware xcp2410, xcp3110
- fujitsu m12-1_firmware xcp2410, xcp3110
- fujitsu m12-2_firmware xcp2410, xcp3110
- fujitsu m12-2s_firmware xcp2410, xcp3110
- openssl Debian 14, Debian 13, Debian 12 1.1.1j-1
debian advisories DEBIAN-CVE-2021-23840
- edk2 Ubuntu 20.04 LTS 0~20191122.bd85bf54-2ubuntu3.3
- openssl Ubuntu 16.04 LTS 1.0.2g-1ubuntu4.19
- openssl Ubuntu 18.04 LTS 1.1.1-1ubuntu2.1~18.04.8
- openssl Ubuntu 20.04 LTS 1.1.1f-1ubuntu2.2
- openssl1.0 Ubuntu 18.04 LTS 1.0.2n-1ubuntu5.6
- openssl Ubuntu Pro 14.04 LTS 1.0.1f-1ubuntu2.27+esm10
- openssl Ubuntu Pro FIPS-updates 16.04 LTS 1.0.2g-1ubuntu4.fips.4.19.3
- openssl Ubuntu Pro FIPS-updates 18.04 LTS 1.1.1-1ubuntu2.fips.2.1~18.04.9.1
ubuntu advisories UBUNTU-CVE-2021-23840
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jws5-tomcat jboss enterprise web server 5.6 9.0.50-3.redhat_00004.1.el7jws
- jws5-tomcat jboss enterprise web server 5.6 9.0.50-3.redhat_00004.1.el8jws
- jws5-tomcat-lib jboss enterprise web server 5.6 9.0.50-3.redhat_00004.1.el7jws
- jws5-tomcat-lib jboss enterprise web server 5.6 9.0.50-3.redhat_00004.1.el8jws
- jws5-tomcat-vault jboss enterprise web server 5.6 1.1.8-4.Final_redhat_00004.1.el7jws
- jws5-tomcat-vault jboss enterprise web server 5.6 1.1.8-4.Final_redhat_00004.1.el8jws
- jws5-tomcat-native jboss enterprise web server 5.6 1.2.30-3.redhat_3.el7jws
- jws5-tomcat-native jboss enterprise web server 5.6 1.2.30-3.redhat_3.el8jws
red hat advisories RHSA-2021:4861RHSA-2021:4614RHSA-2021:4198RHSA-2021:4424RHSA-2021:3798
- openssl SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES 12 SP3-LTSS +7 more 1.0.2j-60.66.1
- openssl SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 0.9.8j-0.106.37.1
- openssl1 SLES 11-SECURITY 1.0.1g-0.58.33.1
- compat-openssl098 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +2 more 0.9.8j-106.24.1
- openssl-1_0_0 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 1.0.2p-3.37.1
- openssl-1_1 SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 1.1.0i-4.57.1
- openssl-1_1 SLE Module for Basesystem 15 SP2, SLE Micro 5.0 1.1.1d-11.17.1
- openssl-1_1 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +6 more 1.1.0i-14.15.1
suse advisories SUSE-SU-2021:0939-1SUSE-SU-2021:14670-1SUSE-SU-2021:14667-1SUSE-SU-2021:0793-1SUSE-SU-2021:0769-1SUSE-SU-2021:0755-1
- openssl-1_0_0 openSUSE Tumbleweed 1.0.2u-6.2
- openssl-1_1 openSUSE Tumbleweed 1.1.1l-1.2
- openssl-1_0_0 openSUSE Leap 15.2 1.0.2p-lp152.8.12.1
- openssl-1_1 openSUSE Leap 15.2 1.1.1d-lp152.7.12.1
- nodejs10 openSUSE Leap 15.2 10.24.0-lp152.2.12.1
- nodejs12 openSUSE Leap 15.2 12.21.0-lp152.3.12.1
opensuse advisories openSUSE-SU-2024:11126-1openSUSE-SU-2024:11127-1openSUSE-SU-2021:0430-1openSUSE-SU-2021:0427-1openSUSE-SU-2021:0372-1openSUSE-SU-2021:0357-1
- edk2-ovmf AlmaLinux 8 20210527gite1999b264f1f-3.el8
almalinux advisories ALSA-2021:4198
- openssl Rocky Linux 8 1:1.1.1k-4.el8
- edk2 Rocky Linux 8 20210527gite1999b264f1f-3.el8
rocky linux advisories RLSA-2021:4424RLSA-2021:4198
- openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 1.1.1j-r0
- openssl3 Alpine 3.16, Alpine 3.15 1.1.1j-r0
- openssl1.1-compat Alpine 3.18, Alpine 3.17 1.1.1j-r0
alpine advisories ALPINE-CVE-2021-23840
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- shim-unsigned-x64 Azure Linux 3.0 1.1.1-1
azure linux advisories AZL-41976
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- openssl Arch Linux 1.1.1.j-1
arch linux advisories AVG-1581
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23840 updated cvss 7.5
openssl: integer overflow in CipherUpdate
-
Red Hat Advanced Cluster Management for Kubernetes 2 management-ingress-rhel7 Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMFaffected: no fix available
-
Red Hat JBoss Enterprise Application Platform 6 opensslaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) edk2 20210527gite1999b264f1f-3.el8, edk2-ovmf 20210527gite1999b264f1f-3.el8, edk2-aarch64 20210527gite1999b264f1f-3.el8fixed: vendor fix RHSA-2021:4198
-
Red Hat Enterprise Linux BaseOS (v. 8) openssl 1.1.1k-4.el8, openssl-libs 1.1.1k-4.el8, openssl-perl 1.1.1k-4.el8fixed: vendor fix RHSA-2021:4424
-
Red Hat Enterprise Linux Client (v. 7) openssl 1.0.2k-22.el7_9, openssl-libs 1.0.2k-22.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) openssl-perl 1.0.2k-22.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssl-perl 1.0.2k-22.el7_9 Red Hat Enterprise Linux Server (v. 7) openssl 1.0.2k-22.el7_9, openssl-libs 1.0.2k-22.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) openssl-perl 1.0.2k-22.el7_9 Red Hat Enterprise Linux Workstation (v. 7) openssl 1.0.2k-22.el7_9, openssl-libs 1.0.2k-22.el7_9fixed: vendor fix RHSA-2021:3798
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) openssl-perl 1.0.2k-22.el7_9 -
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2021:4613
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-apr 1.6.3-107.jbcs.el7, jbcs-httpd24-curl 7.78.0-2.jbcs.el7, jbcs-httpd24-httpd 2.4.37-78.jbcs.el7, jbcs-httpd24-mod_md 2.0.8-40.jbcs.el7, jbcs-httpd24-libcurl 7.78.0-2.jbcs.el7, jbcs-httpd24-openssl 1.1.1g-8.jbcs.el7, +26 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-apr 1.6.3-107.el8jbcs, jbcs-httpd24-curl 7.78.0-2.el8jbcs, jbcs-httpd24-httpd 2.4.37-78.el8jbcs, jbcs-httpd24-mod_md 2.0.8-40.el8jbcs, jbcs-httpd24-libcurl 7.78.0-2.el8jbcs, jbcs-httpd24-openssl 1.1.1g-8.el8jbcs, +26 morefixed: vendor fix RHSA-2021:4614
-
Red Hat JBoss Web Server 5fixed: vendor fix RHSA-2021:4863
show 2 moreshow fewer
-
Red Hat JBoss Web Server 5.6 for RHEL 7 Server jws5-tomcat 9.0.50-3.redhat_00004.1.el7jws, jws5-tomcat-native 1.2.30-3.redhat_3.el7jws, jws5-tomcat-lib 9.0.50-3.redhat_00004.1.el7jws, jws5-tomcat-javadoc 9.0.50-3.redhat_00004.1.el7jws, jws5-tomcat-selinux 9.0.50-3.redhat_00004.1.el7jws, jws5-tomcat-webapps 9.0.50-3.redhat_00004.1.el7jws, +9 more Red Hat JBoss Web Server 5.6 for RHEL 8 jws5-tomcat 9.0.50-3.redhat_00004.1.el8jws, jws5-tomcat-native 1.2.30-3.redhat_3.el8jws, jws5-tomcat-lib 9.0.50-3.redhat_00004.1.el8jws, jws5-tomcat-javadoc 9.0.50-3.redhat_00004.1.el8jws, jws5-tomcat-selinux 9.0.50-3.redhat_00004.1.el8jws, jws5-tomcat-webapps 9.0.50-3.redhat_00004.1.el8jws, +7 morefixed: vendor fix RHSA-2021:4861
-
Red Hat Enterprise Linux 6 openssl, openssl098e, openssl-perl Red Hat Enterprise Linux 7 openssl098e Red Hat Enterprise Linux 8 compat-openssl10 Red Hat Enterprise Linux 9 openssl, openssl-libs, openssl-perlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-22-069-09 updated cvss 7.5
Siemens SINEC INS
-
Siemens SINEC INS <V1.0.1.1affected: fixed in V1.0.1.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-22-130-06 updated cvss 7.5
Mitsubishi Electric MELSOFT GT OPC UA
-
Mitsubishi Electric GT SoftGOT2000 >= 1.215Z, <= 1.270G Mitsubishi Electric MELSOFT GT OPC UA Client >= 1.00A, <= 1.02Caffected: fixed in 1.03D, mitigation “Mitsubishi Electric recommends users update software” mitsubishielectric.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSA-22-116-01 updated cvss 7.5
Hitachi Energy System Data Manager
-
Hitachi Energy All System Data Manager - SDM600 <1.2 FP2 HF10 (Build Nr. 1.2.14002.506)affected: mitigation “Implement and continuously revise least privileges principles to minimize permissions and accesses to SDM600 related resources.” hitachiabb-powergrids.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSA-21-336-06 updated cvss 7.5
Hitachi Energy APM Edge
-
Hitachi Energy APM Edge 3.0, 2.0, 1.0affected: vendor fix, mitigation “Physically protect process control systems from direct access by unauthorized personnel.” search.abb.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
50.73% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | openssl-src | <111.14.0 >=0.0.0-0, <111.14.0 |
111.14.0 |
| bitnami | node | >=10.0.0, <10.12.1 >=10.13.0, <10.24.0 >=12.0.0, <12.12.1 >=12.13.0, <12.21.0 >=14.0.0, <14.14.1 >=14.15.0, <14.15.1 >=15.0.0, <15.10.0 |
10.12.1 10.24.0 12.12.1 12.21.0 14.14.1 14.15.1 15.10.0 |
| bitnami | node-min | >=10.0.0, <10.12.1 >=10.13.0, <10.24.0 >=12.0.0, <12.12.1 >=12.13.0, <12.21.0 >=14.0.0, <14.14.1 >=14.15.0, <14.15.1 >=15.0.0, <15.10.0 |
10.12.1 10.24.0 12.12.1 12.21.0 14.14.1 14.15.1 15.10.0 |
| julia | OpenSSL_jll | <1.1.10+0 |
1.1.10+0 |
| julia | Openresty_jll | <1.19.9+0 |
1.19.9+0 |
Affected products
- OpenSSL OpenSSL
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
//security-alerts/cpujul2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory, advisory
-
debian.org
/security/2021/dsa-4855
vendor-advisory, web, third-party-advisory, advisory
-
security.gentoo.org
/glsa/202103-03
vendor-advisory, web, third-party-advisory, advisory
-
openssl.org
/news/secadv/20210216.txt
web, vendor-advisory, advisory
-
git.openssl.org
/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
web
-
git.openssl.org
/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
web
-
tenable.com
/security/tns-2021-10
web, third-party-advisory, advisory
-
tenable.com
/security/tns-2021-09
web, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20210219-0009/
third-party-advisory, advisory, web
-
tenable.com
/security/tns-2021-03
web, third-party-advisory, advisory
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
mailing-list, web
-
kb.pulsesecure.net
/articles/Pulse_Security_Advisories/SA44846
web, third-party-advisory, advisory
-
kc.mcafee.com
/corporate/index?page=content&id=SB10366
web, third-party-advisory, advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-389290.pdf
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20240621-0006/
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-23840
advisory, web
-
security.netapp.com
/advisory/ntap-20210219-0009
web
-
rustsec.org
/advisories/RUSTSEC-2021-0057.html
web, advisory
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
web
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
web
-
github.com
/alexcrichton/openssl-src-rs
package
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
web
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
web
-
github.com
/advisories/GHSA-qgm6-9472-pwq7
web
-
crates.io
/crates/openssl-src
package
Sources
- CVE List CVE-2021-23840
- GitHub Advisory GHSA-qgm6-9472-pwq7
- NVD CVE-2021-23840
- OSV BIT-node-2021-23840
- OSV BIT-node-min-2021-23840
- OSV JLSEC-2026-221
- OSV RUSTSEC-2021-0057
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.