CVE-2021-23840

Aliases:GHSA-qgm6-9472-pwq7BIT-node-2021-23840BIT-node-min-2021-23840RUSTSEC-2021-0057
Advisory lineage Upstream: 0 Downstream: 35
Modified
Published: 16 Feb 2021, 16:55
Last modified:16 Apr 2026, 14:12

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.46% LOW
0% probability -0.11%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

16 Feb 2021, 16:55
Published
Vulnerability first disclosed
16 Apr 2026, 14:12
Last Modified
Vulnerability information updated

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).

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 0.46% Percentile: 65%

Techniques & Countermeasures

  • CWE-190Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Affected Systems

  • Crates.Ioopenssl-src

    < 111.14.0 | ≥ 0.0.0-0, < 111.14.0

  • debiandebian_linux

    10.0

  • fujitsum10-1_firmware

    < xcp2410 | < xcp3110

  • fujitsum10-4_firmware

    < xcp2410 | < xcp3110

  • fujitsum10-4s_firmware

    < xcp2410 | < xcp3110

  • fujitsum12-1_firmware

    < xcp2410 | < xcp3110

  • fujitsum12-2_firmware

    < xcp2410 | < xcp3110

  • fujitsum12-2s_firmware

    < xcp2410 | < xcp3110

  • mcafeeepolicy_orchestrator

    < 5.10.0 | 5.10.0 | 5.10.0:update_1 | 5.10.0:update_10 | 5.10.0:update_2 | 5.10.0:update_3 | 5.10.0:update_4 | 5.10.0:update_5 | 5.10.0:update_6 | 5.10.0:update_7 | 5.10.0:update_8 | 5.10.0:update_9

  • nodejsnode.js

    ≥ 10.0.0, ≤ 10.12.0 | ≥ 10.13.0, < 10.24.0 | ≥ 12.0.0, ≤ 12.12.0 | ≥ 12.13.0, < 12.21.0 | ≥ 14.0.0, ≤ 14.14.0 | ≥ 15.0.0, < 15.10.0 | 14.15.0

  • UnknownOpenSSL

    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) | ≥ 1.0.2, < 1.0.2y | ≥ 1.1.1, < 1.1.1j

  • oraclebusiness_intelligence

    5.5.0.0.0 | 5.9.0.0.0 | 12.2.1.3.0 | 12.2.1.4.0

  • oraclecommunications_cloud_native_core_policy

    1.15.0

  • oracleenterprise_manager_for_storage_management

    13.4.0.0

  • oracleenterprise_manager_ops_center

    12.4.0.0

  • oraclegraalvm

    19.3.5 | 20.3.1.2 | 21.0.0.2

  • oraclejd_edwards_enterpriseone_tools

    < 9.2.6.0

  • oraclejd_edwards_world_security

    a9.4

  • oraclemysql_server

    < 5.7.33 | ≥ 8.0.15, < 8.0.23

  • oraclenosql_database

    < 20.3

  • tenablelog_correlation_engine

    < 6.0.8

  • tenablenessus_network_monitor

    5.11.0 | 5.11.1 | 5.12.0 | 5.12.1 | 5.13.0

References (29)