Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some…
Summary
Vulnerability reported (CVE-2021-23840). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
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).
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2021-23840 has been found.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "CVE-2021-23840" on the vendor's site.
CVE-2021-23840
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Affected: 1.1.1 - 1.1.1i
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) has been reported.
Affected versions: 1.1.1 - 1.1.1i.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory. (If a vulnerable version 1.1.1 - 1.1.1i is in production, plan an immediate maintenance window.)
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2Match against affected range verify
Confirm if version satisfies `1.1.1 - 1.1.1i`Step 1 で見つかったバージョンが影響範囲
1.1.1 - 1.1.1iに該当するか照合。本番で稼働中ならインシデント扱い。 -
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2021-23840 openssl Fixed in: 1.1.1j-r0
References
- advisory cert-portal.siemens.com
- advisory kb.pulsesecure.net
- advisory kc.mcafee.com
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory security.netapp.com
- advisory debian.org
- advisory openssl.org
- advisory tenable.com
- advisory tenable.com
- advisory tenable.com
- patch oracle.com
- patch oracle.com
- patch oracle.com
- patch oracle.com
- patch oracle.com
- web git.openssl.org
- web git.openssl.org
- web lists.apache.org
- web lists.apache.org