NULL pointer dereference in Apple Ipados
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. 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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.075, 94.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apple Ipados
- Apple Iphone OS
- Apple macOS
- Apple Safari
- NetApp Oncommand Insight
- NetApp Oncommand Workflow Automation
- NetApp Snapcenter
- OpenSSL — versions 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)
- Oracle Business Intelligence — versions 5.5.0.0.0, 5.9.0.0.0, 12.2.1.3.0
- Oracle Communications Cloud Native Core Policy — versions 1.15.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Satheesh575555/Openssl_1_1_0_CVE-2021-23841 (last pushed 2022-08-05)
- Trinadh465/external_boringssl_openssl_1.1.0g_CVE-2021-23841 (last pushed 2022-04-29)
Also mentioned in 25 other repositories (Anna-Rafaella/Conteneurisation, arindam0310018/04-Apr-2022-DevOps__Scan-Images-In-ACR-Using-Trivy, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openssl.org/news/secadv/20210216.txt (Vendor Advisory)
- git.openssl.org/gitweb/
- git.openssl.org/gitweb/
- DSA-4855 (vendor-advisory, Third Party Advisory)
- GLSA-202103-03 (vendor-advisory, Third Party Advisory)
- 20210526 APPLE-SA-2021-05-25-2 macOS Big Sur 11.4 (mailing-list, Mailing List, Third Party Advisory)
- 20210526 APPLE-SA-2021-05-25-5 Safari 14.1.1 (mailing-list, Mailing List, Third Party Advisory)
- 20210526 APPLE-SA-2021-05-25-1 iOS 14.6 and iPadOS 14.6 (mailing-list, Mailing List, Third Party Advisory)
- www.oracle.com/security-alerts/cpuApr2021.html (Patch, Third Party Advisory)
- www.tenable.com/security/tns-2021-09 (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.