7.5high
Integer overflow in CipherUpdate
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 51.1% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openssl
- Also known as
- GHSA-qgm6-9472-pwq7BIT-NODE-2021-23840BIT-NODE-MIN-2021-23840RUSTSEC-2021-0057
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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), from 1.0.2 before 1.0.2y, from 1.1.1 before 1.1.1j | CVE List, NVD |
| openssl-src (crates.io) | before 111.14.0, from 0.0.0-0 before 111.14.0 | GitHub Advisory Database, RustSec Advisory Database |
| debian debian_linux | 10.0 | NVD |
| tenable log_correlation_engine | before 6.0.8 | NVD |
| tenable nessus_network_monitor | 5.11.0, 5.11.1, 5.12.0, 5.12.1, 5.13.0 | NVD |
| oracle business_intelligence | 5.5.0.0.0, 5.9.0.0.0, 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.15.0 | NVD |
| oracle enterprise_manager_for_storage_management | 13.4.0.0 | NVD |
| oracle enterprise_manager_ops_center | 12.4.0.0 | NVD |
| oracle graalvm | 19.3.5, 20.3.1.2, 21.0.0.2 | NVD |
| oracle jd_edwards_enterpriseone_tools | before 9.2.6.0 | NVD |
| oracle jd_edwards_world_security | a9.4 | NVD |
| oracle mysql_server | before 5.7.33, from 8.0.15 before 8.0.23 | NVD |
| oracle nosql_database | before 20.3 | NVD |
| mcafee epolicy_orchestrator | before 5.10.0, 5.10.0 | NVD |
| fujitsu m10-1_firmware | before xcp2410, before xcp3110 | NVD |
| fujitsu m10-4_firmware | before xcp2410, before xcp3110 | NVD |
| fujitsu m10-4s_firmware | before xcp2410, before xcp3110 | NVD |
| fujitsu m12-1_firmware | before xcp2410, before xcp3110 | NVD |
| fujitsu m12-2_firmware | before xcp2410, before xcp3110 | NVD |
| fujitsu m12-2s_firmware | before xcp2410, before xcp3110 | NVD |
| nodejs node.js | from 10.0.0 up to 10.12.0, from 10.13.0 before 10.24.0, from 12.0.0 up to 12.12.0, from 12.13.0 before 12.21.0, from 14.0.0 up to 14.14.0, from 15.0.0 before 15.10.0, 14.15.0 | NVD |
| node (Bitnami) | from 10.0.0 before 10.12.1, from 10.13.0 before 10.24.0, from 12.0.0 before 12.12.1, from 12.13.0 before 12.21.0, from 14.0.0 before 14.14.1, from 14.15.0 before 14.15.1, from 15.0.0 before 15.10.0 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 10.0.0 before 10.12.1, from 10.13.0 before 10.24.0, from 12.0.0 before 12.12.1, from 12.13.0 before 12.21.0, from 14.0.0 before 14.14.1, from 14.15.0 before 14.15.1, from 15.0.0 before 15.10.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| RustSec Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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).
RustSec Advisory Database
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.
NVD (es)
Las llamadas a EVP_CipherUpdate, EVP_EncryptUpdate y EVP_DecryptUpdate, pueden desbordar el argumento de la longitud de salida en algunos casos en los que la longitud de entrada está cerca de la longitud máxima permitida para un entero en la plataforma. En tales casos, el valor de retorno de la llamada a la función será 1 (indicando success), pero el valor de la longitud de salida será negativo. Esto podría causar que las aplicaciones se comporten de forma incorrecta o se bloqueen. Las versiones de OpenSSL 1.1.1i e inferiores están afectadas por este problema. Los usuarios de estas versiones deberían actualizar a OpenSSL versión 1.1.1j. Las versiones de OpenSSL 1.0.2x e inferiores están afectadas por este problema. Sin embargo, OpenSSL versión 1.0.2 está fuera de soporte y ya no recibe actualizaciones públicas. Los clientes con soporte Premium de OpenSSL versión 1.0.2 deben actualizar a la versión 1.0.2y. Los demás usuarios deben actualizar a la versión 1.1.1j. Corregido en OpenSSL versión 1.1.1j (Afectó versiones 1.1.1-1.1.1i). Corregido en OpenSSL versión 1.0.2y (Afectó versiones 1.0.2-1.0.2x)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23840 changed 2026-04-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qgm6-9472-pwq7 changed 2024-12-16 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0057 changed 2024-12-16 | CC0-1.0 |
| NVD | CVE-2021-23840 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2021-23840 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2021-23840 changed 2026-10-16 | Apache-2.0 |