{
  "cveId": "CVE-2021-29454",
  "url": "https://patchblox.com/security/cve/CVE-2021-29454",
  "summary": "CVE-2021-29454 is fixed in 2 products on 1 platform, first by smarty3 3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1, released January 10, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "smarty3: Smarty is a template engine for PHP, facilitating the separation ofpresentation (HTML/CSS) from application logic",
  "description": "Smarty is a template engine for PHP, facilitating the separation ofpresentation (HTML/CSS) from application logic. Prior to versions 3.1.42and 4.0.2, template authors could run arbitrary PHP code by crafting amalicious math string. If a math string was passed through as user provideddata to the math function, external users could run arbitrary PHP code bycrafting a malicious math string. Users should upgrade to version 3.1.42 or4.0.2 to receive a patch.",
  "published": "2022-01-10T12:15:00Z",
  "severity": "High",
  "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.01861,
  "epssPercentile": 0.79367,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Debian 14",
      "fixedVersion": "3.1.45-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1",
      "fix": "smarty3 3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-smarty3-3.1.31-20161214.1.c7d42e4-selfpack1-3ubuntu0.1",
      "released": "2022-01-10T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.1.34\u002B20190228.1.c9f0de05\u002Bselfpack1-1ubuntu0.1~esm1",
      "fix": "smarty3 3.1.34\u002B20190228.1.c9f0de05\u002Bselfpack1-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-smarty3-3.1.34-20190228.1.c9f0de05-selfpack1-1ubuntu0.1-esm1",
      "released": "2022-01-10T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "3.1.39-2ubuntu1",
      "fix": "smarty3 3.1.39-2ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-smarty3-3.1.39-2ubuntu1",
      "released": "2022-01-10T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "3.1.39-2ubuntu1",
      "fix": "smarty3 3.1.39-2ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-smarty3-3.1.39-2ubuntu1",
      "released": "2026-01-16T01:42:22Z"
    },
    {
      "platform": "linux",
      "product": "smarty3",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "3.1.39-2ubuntu1",
      "fix": "smarty3 3.1.39-2ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-smarty3-3.1.39-2ubuntu1",
      "released": "2026-01-16T01:42:24Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "smarty4",
      "release": "Debian 14",
      "fixedVersion": "4.1.1-1",
      "fix": "DEBIAN-CVE-2021-29454",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-29454",
      "released": "2022-01-10T20:15:08Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}