DEBIAN-CVE-2021-29454

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2021-29454
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-29454.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-29454
Upstream
Published
2022-01-10T20:15:08Z
Modified
2025-09-19T07:31:31.374109Z
Summary
[none]
Details

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.

References

Affected packages

Debian:11

smarty3

Package

Name
smarty3
Purl
pkg:deb/debian/smarty3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.39-2+deb11u1

Affected versions

3.*

3.1.39-1
3.1.39-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12

smarty3

Package

Name
smarty3
Purl
pkg:deb/debian/smarty3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.45-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

smarty4

Package

Name
smarty4
Purl
pkg:deb/debian/smarty4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13

smarty3

Package

Name
smarty3
Purl
pkg:deb/debian/smarty3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.45-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

smarty4

Package

Name
smarty4
Purl
pkg:deb/debian/smarty4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14

smarty3

Package

Name
smarty3
Purl
pkg:deb/debian/smarty3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.45-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

smarty4

Package

Name
smarty4
Purl
pkg:deb/debian/smarty4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}