DEBIAN-CVE-2022-29221

Source
https://security-tracker.debian.org/tracker/CVE-2022-29221
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-29221.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-29221
Upstream
Published
2022-05-24T15:15:07Z
Modified
2025-09-19T07:32:17.530001Z
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.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.

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"
}