{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23727.json"
      }
    ],
    "title": "celery: stored command injection vulnerability may allow privileges escalation",
    "tracking": {
      "current_release_date": "2026-08-06T22:24:40+00:00",
      "generator": {
        "date": "2026-08-06T22:24:40+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.12"
        }
      },
      "id": "CVE-2021-23727",
      "initial_release_date": "2021-12-29T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-12-29T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2023-07-07T08:29:35+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-08-06T22:24:40+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Ansible Automation Platform 2",
                "product": {
                  "name": "Red Hat Ansible Automation Platform 2",
                  "product_id": "red_hat_ansible_automation_platform_2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ansible_automation_platform:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Ansible Automation Platform 2"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Ansible Tower 3",
                "product": {
                  "name": "Red Hat Ansible Tower 3",
                  "product_id": "red_hat_ansible_tower_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ansible_tower:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Ansible Tower 3"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Satellite 6",
                "product": {
                  "name": "Red Hat Satellite 6",
                  "product_id": "red_hat_satellite_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:satellite:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Satellite 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Update Infrastructure 3 for Cloud Providers",
                "product": {
                  "name": "Red Hat Update Infrastructure 3 for Cloud Providers",
                  "product_id": "red_hat_update_infrastructure_3_for_cloud_providers",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhui:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Update Infrastructure 3 for Cloud Providers"
          },
          {
            "category": "product_version",
            "name": "celery.src",
            "product": {
              "name": "celery.src",
              "product_id": "celery.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/celery?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python2-celery",
            "product": {
              "name": "python2-celery",
              "product_id": "python2-celery",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python2-celery"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-celery",
            "product": {
              "name": "python-celery",
              "product_id": "python-celery",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-celery"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-celery.src",
            "product": {
              "name": "python-celery.src",
              "product_id": "python-celery.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-celery?arch=src"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "celery.src as a component of Red Hat Ansible Automation Platform 2",
          "product_id": "red_hat_ansible_automation_platform_2:celery.src"
        },
        "product_reference": "celery.src",
        "relates_to_product_reference": "red_hat_ansible_automation_platform_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "celery.src as a component of Red Hat Ansible Tower 3",
          "product_id": "red_hat_ansible_tower_3:celery.src"
        },
        "product_reference": "celery.src",
        "relates_to_product_reference": "red_hat_ansible_tower_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-celery as a component of Red Hat Satellite 6",
          "product_id": "red_hat_satellite_6:python-celery"
        },
        "product_reference": "python-celery",
        "relates_to_product_reference": "red_hat_satellite_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-celery.src as a component of Red Hat Satellite 6",
          "product_id": "red_hat_satellite_6:python-celery.src"
        },
        "product_reference": "python-celery.src",
        "relates_to_product_reference": "red_hat_satellite_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2-celery as a component of Red Hat Satellite 6",
          "product_id": "red_hat_satellite_6:python2-celery"
        },
        "product_reference": "python2-celery",
        "relates_to_product_reference": "red_hat_satellite_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-celery.src as a component of Red Hat Update Infrastructure 3 for Cloud Providers",
          "product_id": "red_hat_update_infrastructure_3_for_cloud_providers:python-celery.src"
        },
        "product_reference": "python-celery.src",
        "relates_to_product_reference": "red_hat_update_infrastructure_3_for_cloud_providers"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-23727",
      "cwe": {
        "id": "CWE-77",
        "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')"
      },
      "discovery_date": "2021-12-29T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_ansible_automation_platform_2:celery.src",
            "red_hat_ansible_tower_3:celery.src",
            "red_hat_satellite_6:python-celery",
            "red_hat_satellite_6:python-celery.src",
            "red_hat_satellite_6:python2-celery",
            "red_hat_update_infrastructure_3_for_cloud_providers:python-celery.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2037531"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A command injection vulnerability was found in the distributed task queue celery, which can lead to remote code execution. An attacker with access to backend results can reconstruct the exception class to act as a command payload which can be queried to the task to execute.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "celery: stored command injection vulnerability may allow privileges escalation",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_ansible_automation_platform_2:celery.src",
          "red_hat_ansible_tower_3:celery.src",
          "red_hat_satellite_6:python-celery",
          "red_hat_satellite_6:python-celery.src",
          "red_hat_satellite_6:python2-celery",
          "red_hat_update_infrastructure_3_for_cloud_providers:python-celery.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-23727"
        },
        {
          "category": "external",
          "summary": "RHBZ#2037531",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2037531"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-23727",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-23727"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-23727",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23727"
        },
        {
          "category": "external",
          "summary": "https://github.com/advisories/GHSA-q4xr-rc97-m4xx",
          "url": "https://github.com/advisories/GHSA-q4xr-rc97-m4xx"
        }
      ],
      "release_date": "2021-12-29T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.0,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "red_hat_ansible_automation_platform_2:celery.src",
            "red_hat_ansible_tower_3:celery.src",
            "red_hat_satellite_6:python-celery",
            "red_hat_satellite_6:python-celery.src",
            "red_hat_satellite_6:python2-celery",
            "red_hat_update_infrastructure_3_for_cloud_providers:python-celery.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_ansible_automation_platform_2:celery.src",
            "red_hat_ansible_tower_3:celery.src",
            "red_hat_satellite_6:python-celery",
            "red_hat_satellite_6:python-celery.src",
            "red_hat_satellite_6:python2-celery",
            "red_hat_update_infrastructure_3_for_cloud_providers:python-celery.src"
          ]
        }
      ],
      "title": "celery: stored command injection vulnerability may allow privileges escalation"
    }
  ]
}