Stack-based Buffer Over-read in x509_constraints_parse_mailbox

Stack-based Buffer Over-read in x509_constraints_parse_mailbox

CVE-2021-41581 · MEDIUM Severity

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

x509_constraints_parse_mailbox in lib/libcrypto/x509/x509_constraints.c in LibreSSL through 3.4.0 has a stack-based buffer over-read. When the input exceeds DOMAIN_PART_MAX_LEN, the buffer lacks '\0' termination.

Learn more about our Web Application Penetration Testing UK.