Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openssl
  4. ›
  5. CVE-2021-23841

CVE-2021-23841: Integer Overflow or Wraparound

February 16, 2021 (updated November 9, 2023)

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.

References

  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=122a19ab48091c657f7cb1fb3af9fc07bd557bbf
  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8252ee4d90f3f2004d3d0aeeed003ad49c9a7807
  • nvd.nist.gov/vuln/detail/CVE-2021-23841
  • www.openssl.org/news/secadv/20210216.txt

Code Behaviors & Features

Detect and mitigate CVE-2021-23841 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.2 before 1.0.2y, all versions starting from 1.1.1 before 1.1.1j

Fixed versions

  • 1.1.0l
  • 1.1.1p

Solution

Upgrade to versions 1.1.0l, 1.1.1p or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

conan/openssl/CVE-2021-23841.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.