CVE-2017-1000480 json
Smarty PHP code injection
published 8y ago modified 4mo ago also GHSA-9m49-vhwv-422g , EUVD-2022-3409
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist smarty/smarty 3.1.32
- smarty smarty 3.1.32
- smarty3 Debian 14, Debian 13, Debian 12 3.1.31+20161214.1.c7d42e4+selfpack1-3
debian advisories DEBIAN-CVE-2017-1000480
- smarty3 Ubuntu 18.04 LTS 3.1.31+20161214.1.c7d42e4+selfpack1-3
ubuntu advisories UBUNTU-CVE-2017-1000480
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2017-1000480 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000480 updated cvss 7.5
php-Smarty: Code injection when calling fetch() or display() on unsanitized template names
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.12% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | smarty/smarty | >=3, <3.1.32 |
3.1.32 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
debian.org
/security/2018/dsa-4094
vendor-advisory, web
-
github.com
/smarty-php/smarty/blob/master/change_log.txt
web, release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/01/msg00023.html
mailing-list, web
-
lists.debian.org
/debian-lts-announce/2018/02/msg00000.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000480
advisory
-
github.com
/smarty-php/smarty
package
Sources
- CVE List CVE-2017-1000480
- GitHub Advisory GHSA-9m49-vhwv-422g
- NVD CVE-2017-1000480
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.