CVE-2021-23840: Integer overflow in CipherUpdate
Noroxi assessment
Priority: Plan (action score 45/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 50.7% (FIRST EPSS); higher than 98.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: edk2-ovmf (AlmaLinux:8) 20210527gite1999b264f1f-3.el8; openssl (Alpine:v3.10) 1.1.1j-r0; openssl3 (Alpine:v3.15) 1.1.1j-r0.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to edk2-ovmf (AlmaLinux:8) 20210527gite1999b264f1f-3.el8; openssl (Alpine:v3.10) 1.1.1j-r0; openssl3 (Alpine:v3.15) 1.1.1j-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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).
- BDU:2021-03742
- GHSA-qgm6-9472-pwq7
- ALSA-2021:4198
- DLA-2563-1
- DLA-2565-1
- DSA-4855-1
- openSUSE-SU-2021:0357-1
- openSUSE-SU-2021:0372-1
- openSUSE-SU-2021:0427-1
- openSUSE-SU-2021:0430-1
- RHSA-2021:3798
- RHSA-2021:4198
- RHSA-2021:4424
- RHSA-2021:4614
- RHSA-2021:4861
- RLSA-2021:4198
- RLSA-2021:4424
- RUSTSEC-2021-0057
- SUSE-SU-2021:0649-1
- SUSE-SU-2021:0651-1
- Published
- Feb 16, 2021
- Updated
- Jun 16, 2026
- EPSS
- 50.7% · 98th percentile
- CWE
- CWE-190
Report tools
Action score
45
Plan
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 15 / 30 · 50.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| openssl | openssl | cpe:2.3:a:openssl:openssl |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| tenable | log correlation engine | cpe:2.3:a:tenable:log_correlation_engine |
| tenable | nessus network monitor | cpe:2.3:a:tenable:nessus_network_monitor |
| oracle | business intelligence | cpe:2.3:a:oracle:business_intelligence |
| oracle | communications cloud native core policy | cpe:2.3:a:oracle:communications_cloud_native_core_policy |
| oracle | enterprise manager for storage management | cpe:2.3:a:oracle:enterprise_manager_for_storage_management |
| oracle | enterprise manager ops center | cpe:2.3:a:oracle:enterprise_manager_ops_center |
| oracle | graalvm | cpe:2.3:a:oracle:graalvm |
| oracle | jd edwards enterpriseone tools | cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools |
| oracle | jd edwards world security | cpe:2.3:a:oracle:jd_edwards_world_security |
| oracle | mysql server | cpe:2.3:a:oracle:mysql_server |
and 15 more
Check your server's TLS configuration
The OpenSSL version can't be seen from outside; the free SSL checker tests your certificate, enabled TLS versions and weak ciphers. Confirm the version on your server with the package manager.
Run the SSL checkAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- nodejs node.js14.0.0 and later · up to 14.14.0 inclusive
- nodejs node.js15.0.0 and later · before 15.10.0
- nodejs node.js10.0.0 and later · up to 10.12.0 inclusive
- nodejs node.js10.13.0 and later · before 10.24.0
- nodejs node.js12.0.0 and later · up to 12.12.0 inclusive
- nodejs node.js12.13.0 and later · before 12.21.0
- nodejs node.js14.15.0
- oracle mysql server8.0.15 and later · before 8.0.23
- oracle mysql serverbefore 5.7.33
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.
OpenSSL OpenSSL
- 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)affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | edk2-ovmf | before 20210527gite1999b264f1f-3.el8 | 20210527gite1999b264f1f-3.el8 |
| Alpine:v3.10 | openssl | from 1.0.2 · before 1.1.1j-r0 | 1.1.1j-r0 |
| Alpine:v3.15 | openssl3 | before 1.1.1j-r0 | 1.1.1j-r0 |
| crates.io | openssl-src | from 0.0.0-0 · before 111.14.0 | 111.14.0 |
| crates.io | openssl-src | before 111.14.0 | 111.14.0 |
| Debian:10 | openssl | before 1.1.1d-0+deb10u5 | 1.1.1d-0+deb10u5 |
| Debian:12 | openssl | before 1.1.1j-1 | 1.1.1j-1 |
| Debian:9 | openssl | before 1.1.0l-1~deb9u3 | 1.1.0l-1~deb9u3 |
| Debian:9 | openssl1.0 | before 1.0.2u-1~deb9u4 | 1.0.2u-1~deb9u4 |
| openSUSE:Leap 15.2 | nodejs10 | before 10.24.0-lp152.2.12.1 | 10.24.0-lp152.2.12.1 |
| openSUSE:Leap 15.2 | nodejs12 | before 12.21.0-lp152.3.12.1 | 12.21.0-lp152.3.12.1 |
| openSUSE:Leap 15.2 | openssl-1_0_0 | before 1.0.2p-lp152.8.12.1 | 1.0.2p-lp152.8.12.1 |
| openSUSE:Leap 15.2 | openssl-1_1 | before 1.1.1d-lp152.7.12.1 | 1.1.1d-lp152.7.12.1 |
| Red Hat:enterprise_linux:7::client | openssl | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-debuginfo | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-devel | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-libs | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-perl | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-static | before 1:1.0.2k-22.el7_9 | 1:1.0.2k-22.el7_9 |
| Red Hat:enterprise_linux:8::appstream | edk2 | before 0:20210527gite1999b264f1f-3.el8 | 0:20210527gite1999b264f1f-3.el8 |
| Red Hat:enterprise_linux:8::appstream | edk2-aarch64 | before 0:20210527gite1999b264f1f-3.el8 | 0:20210527gite1999b264f1f-3.el8 |
| Red Hat:enterprise_linux:8::appstream | edk2-ovmf | before 0:20210527gite1999b264f1f-3.el8 | 0:20210527gite1999b264f1f-3.el8 |
| Red Hat:enterprise_linux:8::baseos | openssl | before 1:1.1.1k-4.el8 | 1:1.1.1k-4.el8 |
| Red Hat:enterprise_linux:8::baseos | openssl-debuginfo | before 1:1.1.1k-4.el8 | 1:1.1.1k-4.el8 |
+96
Same product
openssl: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV90Now
- CVE-2021-3711SM2 Decryption Buffer Overflow65This week
- CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code 65This week
Published before and after this one in the same product
- ← EarlierCVE-2020-1971Dec 8, 2020 · EDIPARTYNAME NULL pointer dereference25Monitor
- ← EarlierCVE-2021-23839Feb 16, 2021 · Incorrect SSLv2 rollback protection15Monitor
- Later →CVE-2021-23841Feb 16, 2021 · Null pointer deref in X509_issuer_and_serial_hash()25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:edk2-ovmf | 20210527gite1999b264f1f-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| alpine:openssl | 1.1.1j-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:openssl3 | 1.1.1j-r0 · Alpine:v3.15 | Package registry (OSV) |
| crates.io:openssl-src | 111.14.0 | Package registry (OSV) |
| debian:openssl | 1.1.1j-1 · Debian:12 | Package registry (OSV) |
| debian:openssl1.0 | 1.0.2u-1~deb9u4 · Debian:9 | Package registry (OSV) |
| opensuse:nodejs10 | 10.24.0-lp152.2.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs12 | 12.21.0-lp152.3.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:openssl-1_0_0 | 1.0.2p-lp152.8.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:openssl-1_1 | 1.1.1d-lp152.7.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:edk2 | 0:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:edk2-aarch64 | 0:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:edk2-ovmf | 0:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:jbcs-httpd24-apr | 0:1.6.3-107.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:openssl | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-debuginfo | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-debugsource | 1:1.1.1k-4.el8 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:openssl-devel | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-libs | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-libs-debuginfo | 1:1.1.1k-4.el8 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:openssl-perl | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-static | 1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| rocky linux:edk2 | 0:20210527gite1999b264f1f-3.el8 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:openssl | 1:1.1.1k-4.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:compat-openssl098 | 0.9.8j-106.24.1 · SUSE:Linux Enterprise Module for Legacy 12 | Package registry (OSV) |
| suse:nodejs10 | 10.24.0-1.36.2 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
| suse:nodejs12 | 12.21.0-1.29.2 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
| suse:openssl | 1.0.2j-60.66.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openssl-1_0_0 | 1.0.2p-3.36.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:openssl-1_1 | 1.1.1d-2.30.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
+1
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2023-09-11 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+936 d
- TodayOct 31, 2026+2083 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0340 · May 11, 2022(Mitsubishi Electric Bildirimi)
- TR-22-0222 · Mar 15, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
- TR-22-0016 · Jan 7, 2022(IBM Güvenlik Zafiyeti)
- TR-21-0964 · Dec 3, 2021(Hitachi Güvenlik Zafiyeti)
- TR-21-0963 · Dec 2, 2021(RedHat Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846
- kc.mcafee.com/corporate/index?page=content&id=SB10366
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- security.gentoo.org/glsa/202103-03
- security.netapp.com/advisory/ntap-20210219-0009/
- security.netapp.com/advisory/ntap-20240621-0006/
- www.debian.org/security/2021/dsa-4855
- www.openssl.org/news/secadv/20210216.txt
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpuoct2021.html
- www.tenable.com/security/tns-2021-03
- www.tenable.com/security/tns-2021-09
- www.tenable.com/security/tns-2021-10
Vendor advisories and official records. Exploit/PoC links are deliberately left out.