{
  "cveId": "CVE-2022-29221",
  "url": "https://patchblox.com/security/cve/CVE-2022-29221",
  "summary": "CVE-2022-29221 is fixed in 3 products on 1 platform, first by smarty3 3.1.39-2ubuntu1.22.04.1, released May 24, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "smarty3: Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic",
  "description": "Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.",
  "published": "2022-05-24T08:15:00Z",
  "severity": "Medium",
  "cvss": 8.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.04914,
  "epssPercentile": 0.92169,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "postfixadmin",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "3.0.2-2ubuntu0.1~esm1",
      "fix": "postfixadmin 3.0.2-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postfixadmin-3.0.2-2ubuntu0.1-esm1",
      "released": "2023-03-28T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "postfixadmin",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.2.1-3ubuntu0.1~esm1",
      "fix": "postfixadmin 3.2.1-3ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postfixadmin-3.2.1-3ubuntu0.1-esm1",
      "released": "2023-03-28T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "postfixadmin",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "3.3.10-2ubuntu0.1~esm1",
      "fix": "postfixadmin 3.3.10-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-postfixadmin-3.3.10-2ubuntu0.1-esm1",
      "released": "2023-03-28T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 14",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "3.1.39-2ubuntu1.22.04.1",
      "fix": "smarty3 3.1.39-2ubuntu1.22.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-smarty3-3.1.39-2ubuntu1.22.04.1",
      "released": "2022-05-24T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "3.1.39-2ubuntu2",
      "fix": "smarty3 3.1.39-2ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-smarty3-3.1.39-2ubuntu2",
      "released": "2026-01-16T01:42:23Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "3.1.39-2ubuntu2",
      "fix": "smarty3 3.1.39-2ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-smarty3-3.1.39-2ubuntu2",
      "released": "2026-01-16T01:42:24Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 14",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2022-29221",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-29221",
      "released": "2022-05-24T15:15:07Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}