Advisory

UBUNTU-CVE-2021-21408

Also known as: CVE-2021-21408

Summary

The record has no summary.

Details

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-01-10 20:15 UTC
Modified
2026-02-04 03:35 UTC

Affected packages and fixes

smarty3

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 (ecosystem)

Fixed versions

3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1

Fix

  • Fixed version 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

smarty3

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.1.39-2ubuntu1 (ecosystem)

Fixed versions

3.1.39-2ubuntu1

Fix

  • Fixed version 3.1.39-2ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences