[Forgot Password]
Login  Register Subscribe

30480

 
 

423868

 
 

253164

 
 

909

 
 

197077

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CVE
view JSON

CVE-2021-29454Date: (C)2022-01-12   (M)2023-12-22


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.

CVSS Score and Metrics +CVSS Score and Metrics -

CVSS V3 Severity:CVSS V2 Severity:
CVSS Score : 8.8CVSS Score : 6.5
Exploit Score: 2.8Exploit Score: 8.0
Impact Score: 5.9Impact Score: 6.4
 
CVSS V3 Metrics:CVSS V2 Metrics:
Attack Vector: NETWORKAccess Vector: NETWORK
Attack Complexity: LOWAccess Complexity: LOW
Privileges Required: LOWAuthentication: SINGLE
User Interaction: NONEConfidentiality: PARTIAL
Scope: UNCHANGEDIntegrity: PARTIAL
Confidentiality: HIGHAvailability: PARTIAL
Integrity: HIGH 
Availability: HIGH 
  
Reference:
DSA-5151
FEDORA-2022-52154efd61
FEDORA-2022-d5fc9dcdd7
GLSA-202209-09
https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html
https://github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecaf97cf1e7db71
https://github.com/smarty-php/smarty/releases/tag/v3.1.42
https://github.com/smarty-php/smarty/releases/tag/v4.0.2
https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m
https://packagist.org/packages/smarty/smarty
https://www.smarty.net/docs/en/language.function.math.tpl

CPE    1
cpe:/o:debian:debian_linux:9.0
CWE    1
CWE-74
OVAL    5
oval:org.secpod.oval:def:607812
oval:org.secpod.oval:def:124328
oval:org.secpod.oval:def:88359
oval:org.secpod.oval:def:80410
...

© SecPod Technologies