You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
CVE Modified by GitHub, Inc.11/06/2023 10:32:36 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/
Modified Analysis by NIST12/08/2022 5:22:22 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
OR
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc.11/14/2022 10:15:14 AM
OR
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc.10/24/2022 10:15:48 AM
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Changed
Reference Type
https://security.gentoo.org/glsa/202209-09 No Types Assigned
https://security.gentoo.org/glsa/202209-09 Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2022/dsa-5151 No Types Assigned
https://www.debian.org/security/2022/dsa-5151 Third Party Advisory
OR
*cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.42
*cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.2
Added
CVSS V2
NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P)
Added
CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Added
CWE
NIST CWE-74
Changed
Reference Type
https://github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecaf97cf1e7db71 No Types Assigned
https://github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecaf97cf1e7db71 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/smarty-php/smarty/releases/tag/v3.1.42 No Types Assigned
https://github.com/smarty-php/smarty/releases/tag/v3.1.42 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/smarty-php/smarty/releases/tag/v4.0.2 No Types Assigned
https://github.com/smarty-php/smarty/releases/tag/v4.0.2 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m No Types Assigned
https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m Third Party Advisory
Changed
Reference Type
https://packagist.org/packages/smarty/smarty No Types Assigned
https://packagist.org/packages/smarty/smarty Product, Third Party Advisory
Changed
Reference Type
https://www.smarty.net/docs/en/language.function.math.tpl No Types Assigned