CVE-2017-1000480
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
02 Description
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.12% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 87.7% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-01-03 18:00Z8 YR AGO
- Last updated
- 2024-08-05 22:00Z2 YR AGO
- Reserved
- 2018-01-03
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.1
- Document digest
- 8fd0c7cbc6494801bc2032cb26323a10043ce5fe73495b9c5b46c9ba0fc3e76a
05 Affected products
06 References
- www.debian.orgDSA-4094https://www.debian.org/security/2018/dsa-4094
- github.comhttps://github.com/smarty-php/smarty/blob/master/change_log.txt
- lists.debian.org[debian-lts-announce] 20180119 [SECURITY] [DLA 1249-1] smarty3 security updatehttps://lists.debian.org/debian-lts-announce/2018/01/msg00023.html
- lists.debian.org[debian-lts-announce] 20180201 [SECURITY] [DLA 1249-2] smarty3 regression updatehttps://lists.debian.org/debian-lts-announce/2018/02/msg00000.html
07 Fixed in
Debian 12
- smarty3 Fixed in 3.1.31+20161214.1.c7d42e4+selfpack1-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- smarty3 Fixed in 3.1.31+20161214.1.c7d42e4+selfpack1-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- smarty3 Fixed in 3.1.31+20161214.1.c7d42e4+selfpack1-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- smarty3 Fixed in 3.1.31+20161214.1.c7d42e4+selfpack1-3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- smarty3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.