Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-jhg5-tdyz-uyh4
Summary
Improper Input Validation
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. A vulnerability was found that may allow template authors could run restricted static php methods.
Aliases
0
alias CVE-2021-21408
1
alias GHSA-4h9c-v5vg-5m6m
Fixed_packages
0
url pkg:composer/smarty/smarty@3.1.43
purl pkg:composer/smarty/smarty@3.1.43
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@3.1.43
1
url pkg:composer/smarty/smarty@4.0.3
purl pkg:composer/smarty/smarty@4.0.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@4.0.3
2
url pkg:deb/debian/smarty3@3.1.39-2%2Bdeb11u1?distro=trixie
purl pkg:deb/debian/smarty3@3.1.39-2%2Bdeb11u1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty3@3.1.39-2%252Bdeb11u1%3Fdistro=trixie
3
url pkg:deb/debian/smarty3@3.1.45-1?distro=trixie
purl pkg:deb/debian/smarty3@3.1.45-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty3@3.1.45-1%3Fdistro=trixie
4
url pkg:deb/debian/smarty3@3.1.47-2%2Bdeb12u1?distro=trixie
purl pkg:deb/debian/smarty3@3.1.47-2%2Bdeb12u1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty3@3.1.47-2%252Bdeb12u1%3Fdistro=trixie
5
url pkg:deb/debian/smarty3@3.1.48-2?distro=trixie
purl pkg:deb/debian/smarty3@3.1.48-2?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty3@3.1.48-2%3Fdistro=trixie
6
url pkg:deb/debian/smarty4@4.1.1-1?distro=trixie
purl pkg:deb/debian/smarty4@4.1.1-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty4@4.1.1-1%3Fdistro=trixie
7
url pkg:deb/debian/smarty4@4.3.0-1%2Bdeb12u2?distro=trixie
purl pkg:deb/debian/smarty4@4.3.0-1%2Bdeb12u2?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty4@4.3.0-1%252Bdeb12u2%3Fdistro=trixie
8
url pkg:deb/debian/smarty4@4.5.5-1?distro=trixie
purl pkg:deb/debian/smarty4@4.5.5-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/smarty4@4.5.5-1%3Fdistro=trixie
9
url pkg:ebuild/dev-php/smarty@4.2.1
purl pkg:ebuild/dev-php/smarty@4.2.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-php/smarty@4.2.1
Affected_packages
0
url pkg:composer/smarty/smarty@4.0.0
purl pkg:composer/smarty/smarty@4.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3829-yarc-yqh3
1
vulnerability VCID-jhg5-tdyz-uyh4
2
vulnerability VCID-mmfc-us8q-xbha
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@4.0.0
References
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21408
reference_id
reference_type
scores
0
value 0.0047
scoring_system epss
scoring_elements 0.64926
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21408
1
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-21408.yaml
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-21408.yaml
2
reference_url https://github.com/smarty-php/smarty
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/smarty-php/smarty
3
reference_url https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664
4
reference_url https://github.com/smarty-php/smarty/releases/tag/v3.1.43
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/smarty-php/smarty/releases/tag/v3.1.43
5
reference_url https://github.com/smarty-php/smarty/releases/tag/v4.0.3
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/smarty-php/smarty/releases/tag/v4.0.3
6
reference_url https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html
7
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ
8
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI
9
reference_url https://security.gentoo.org/glsa/202209-09
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://security.gentoo.org/glsa/202209-09
10
reference_url https://www.debian.org/security/2022/dsa-5151
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.debian.org/security/2022/dsa-5151
11
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010375
reference_id 1010375
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010375
12
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21408
reference_id CVE-2021-21408
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21408
13
reference_url https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m
reference_id GHSA-4h9c-v5vg-5m6m
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m
Weaknesses
0
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
1
cwe_id 20
name Improper Input Validation
description The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
2
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-jhg5-tdyz-uyh4