{
  "threat_severity" : "Moderate",
  "public_date" : "2021-01-11T00:00:00Z",
  "bugzilla" : {
    "description" : "python-pygments: ReDoS in multiple lexers",
    "id" : "1940603",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1940603"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-400",
  "details" : [ "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.", "A denial of service attack was discovered against pygments.  Some of the regular expressions used to tokenise source code for highlighting have exponential complexity.  A specially crafted input file could cause pygments to take effectively infinite time to parse, consuming CPU resources and denying access to the service." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "automation-hub-0:4.2.2-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python3-django-0:2.2.18-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python-bleach-0:3.3.0-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python-bleach-allowlist-0:1.0.3-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python-galaxy-importer-0:0.2.15-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python-galaxy-ng-0:4.2.2-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 7",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el7",
    "package" : "python-pulp-ansible-1:0.5.6-1.el7pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "automation-hub-0:4.2.2-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python3-django-0:2.2.18-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python-bleach-0:3.3.0-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python-bleach-allowlist-0:1.0.3-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python-galaxy-importer-0:0.2.15-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python-galaxy-ng-0:4.2.2-1.el8pc"
  }, {
    "product_name" : "Red Hat Automation Hub 4.2 for RHEL 8",
    "release_date" : "2021-03-09T00:00:00Z",
    "advisory" : "RHSA-2021:0781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:4.2::el8",
    "package" : "python-pulp-ansible-1:0.5.6-1.el8pc"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4150",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python36:3.6-8050020210811103506.982725ab"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4151",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python27:2.7-8050020210811095446.3e7ace8b"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4139",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8::highavailability",
    "package" : "resource-agents-0:4.1.1-98.el8"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-babel-0:0.9.6-10.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-0:2.7.18-3.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-jinja2-0:2.6-16.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-pygments-0:1.5-5.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-babel-0:0.9.6-10.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-0:2.7.18-3.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-jinja2-0:2.6-16.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-08-24T00:00:00Z",
    "advisory" : "RHSA-2021:3252",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "python27-python-pygments-0:1.5-5.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "python-pygments",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "python-pygments",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "resource-agents",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat OpenStack Platform 10 (Newton)",
    "fix_state" : "Out of support scope",
    "package_name" : "python-pygments",
    "cpe" : "cpe:/a:redhat:openstack:10"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-27291\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-27291" ],
  "name" : "CVE-2021-27291",
  "csaw" : false
}