{
  "threat_severity" : "Moderate",
  "public_date" : "2020-06-02T00:00:00Z",
  "bugzilla" : {
    "description" : "perl: heap-based buffer overflow in regular expression compiler leads to DoS",
    "id" : "1837975",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1837975"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.2",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-190->CWE-122->CWE-787",
  "details" : [ "Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer overflow." ],
  "statement" : "A heap buffer overflow vulnerability exists in the regular expression compiler of Perl packages shipped with Red Hat Enterprise Linux 6, 7, and 8. The flaw occurs in the S_study_chunk() function of regcomp.c due to a signed size_t integer overflow in storage space calculations for nested regular expression quantifiers. When untrusted regular expressions are compiled, this can lead to out-of-bounds memory writes with attacker-controlled data. The vulnerability does not depend on the data being matched, but rather on the regular expression itself. On Red Hat systems, this could result in denial of service or potential code execution when processing malicious regular expressions. Red Hat customers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler, as regular expressions in Perl can contain arbitrary code.",
  "acknowledgement" : "Red Hat would like to thank ManhND (Tarantula Team) and VinCSS (Vingroup) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2021-02-02T00:00:00Z",
    "advisory" : "RHSA-2021:0343",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "perl-4:5.16.3-299.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Advanced Update Support",
    "release_date" : "2021-04-20T00:00:00Z",
    "advisory" : "RHSA-2021:1266",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.4",
    "package" : "perl-4:5.16.3-292.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Telco Extended Update Support",
    "release_date" : "2021-04-20T00:00:00Z",
    "advisory" : "RHSA-2021:1266",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.4",
    "package" : "perl-4:5.16.3-292.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions",
    "release_date" : "2021-04-20T00:00:00Z",
    "advisory" : "RHSA-2021:1266",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.4",
    "package" : "perl-4:5.16.3-292.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.6 Extended Update Support",
    "release_date" : "2021-03-16T00:00:00Z",
    "advisory" : "RHSA-2021:0883",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.6",
    "package" : "perl-4:5.16.3-294.el7_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.7 Extended Update Support",
    "release_date" : "2021-03-30T00:00:00Z",
    "advisory" : "RHSA-2021:1032",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.7",
    "package" : "perl-4:5.16.3-294.el7_7.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-05-18T00:00:00Z",
    "advisory" : "RHSA-2021:1678",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "perl-4:5.26.3-419.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-05-18T00:00:00Z",
    "advisory" : "RHSA-2021:1678",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "perl-4:5.26.3-419.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-20T00:00:00Z",
    "advisory" : "RHSA-2021:2792",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "perl-4:5.26.3-418.el8_2.1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Out of support scope",
    "package_name" : "perl",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "perl",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "perl:5.24/perl",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-10543\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-10543" ],
  "name" : "CVE-2020-10543",
  "mitigation" : {
    "value" : "To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.",
    "lang" : "en:us"
  },
  "csaw" : false
}