CVSS 3.1
5.4 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NMedium (5.4). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in smarty/smarty 3.1.47, 4.2.1.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:Nsmarty/smarty (Packagist): fixed in 3.1.47, 4.2.1Explain CVE-2018-25047 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-25047?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-25047?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-25047 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| smarty:smarty | before 3.1.47 |
| smarty:smarty | from 4.0.0 before 4.2.1 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hwq7-5vv9-c6cf | Packagist | smarty/smarty | <3.1.47 | 3.1.47 |
| GHSA-hwq7-5vv9-c6cf | Packagist | smarty/smarty | >=4.0.0 <4.2.1 | 4.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | smarty3 | 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u2 | DLA-3262-1 |
| Debian | 11 | smarty3 | 3.1.39-2+deb11u2 | DLA-3956-1 |
| Debian | 12, 13, 14 | smarty3 | 3.1.47-1 | DEBIAN-CVE-2018-25047 |
| Debian | 12, 13, 14 | smarty4 | 4.2.1-1 | DEBIAN-CVE-2018-25047 |
| Ubuntu | 20.04:LTS | smarty3 | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | UBUNTU-CVE-2018-25047 USN-7158-1 |
| Ubuntu | 22.04:LTS | smarty3 | 3.1.39-2ubuntu1.22.04.2 | UBUNTU-CVE-2018-25047 USN-7158-1 |
| Ubuntu | 24.04:LTS | smarty3 | 3.1.48-1ubuntu0.24.04.1 | UBUNTU-CVE-2018-25047 USN-7158-1 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 and 1 more | smarty3 | no fix listed | UBUNTU-CVE-2018-25047 |
| Ubuntu | Pro:18.04:LTS | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 | UBUNTU-CVE-2018-25047 USN-7158-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.