Carbon is an international PHP extension for DateTime. Application passing unsanitized user input to Carbon::setLocale are at risk of arbitrary file include, if the application allows users to upload files with .php extension in an folder that allows include or require to read it, then they are at risk of arbitrary code ran on their servers. This vulnerability is fixed in 3.8.4 and 2.72.6.
History

Tue, 25 Feb 2025 13:30:00 +0000

Type Values Removed Values Added
References

Wed, 12 Feb 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jan 2025 20:45:00 +0000

Type Values Removed Values Added
Description Carbon is an international PHP extension for DateTime. Application passing unsanitized user input to Carbon::setLocale are at risk of arbitrary file include, if the application allows users to upload files with .php extension in an folder that allows include or require to read it, then they are at risk of arbitrary code ran on their servers. This vulnerability is fixed in 3.8.4 and 2.72.6.
Title Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale
Weaknesses CWE-98
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-02-25T13:07:45.559Z

Reserved: 2024-12-30T03:00:33.654Z

Link: CVE-2025-22145

cve-icon Vulnrichment

Updated: 2025-02-25T13:07:45.559Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-01-08T21:15:13.480

Modified: 2025-02-25T13:15:10.927

Link: CVE-2025-22145

cve-icon Redhat

No data.