{
  "cveId": "CVE-2021-4041",
  "url": "https://patchblox.com/security/cve/CVE-2021-4041",
  "summary": "CVE-2021-4041 is fixed in 2 products on 1 platform, first by python3-ansible-runner 2.1.1-1, released August 24, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "ansible-runner: A flaw was found in ansible-runner",
  "description": "A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as host\u0027s shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.",
  "published": "2022-08-24T09:15:00Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "epss": 0.00332,
  "epssPercentile": 0.26533,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ansible-runner",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "2.1.1-1",
      "fix": "DEBIAN-CVE-2021-4041",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-4041",
      "released": "2022-08-24T16:15:09Z"
    },
    {
      "platform": "linux",
      "product": "ansible-runner",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.1.1-1",
      "fix": "DEBIAN-CVE-2021-4041",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-4041",
      "released": "2022-08-24T16:15:09Z"
    },
    {
      "platform": "linux",
      "product": "ansible-runner",
      "release": "Debian 14",
      "fixedVersion": "2.1.1-1",
      "fix": "DEBIAN-CVE-2021-4041",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-4041",
      "released": "2022-08-24T16:15:09Z"
    },
    {
      "platform": "linux",
      "product": "python3-ansible-runner",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.1.1-1",
      "fix": "python3-ansible-runner 2.1.1-1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-ansible-runner-2.1.1-1",
      "released": "2022-08-24T09:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}