fix(deps): update dependency nesbot/carbon to v3.8.4 [security] #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.8.0
->3.8.4
GitHub Vulnerability Alerts
CVE-2025-22145
Impact
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 allowsinclude
orrequire
to read it, then they are at risk of arbitrary code ran on their servers.Patches
Workarounds
Any of the below actions can be taken to prevent the issue:
setLocale()
, for instance by forbidding or removing/
and\
setLocale()
only with a locale from a whitelist of supported locales.php
extension (this is recommended even if you're not affected by this issue)References
https://en.wikipedia.org/wiki/File_inclusion_vulnerability
Credits
Thanks to Szczepan Hołyszewski who reported the issue and to Tidelift to coordinate the resolution
Release Notes
CarbonPHP/carbon (nesbot/carbon)
v3.8.4
Compare Source
Complete commits list: CarbonPHP/carbon@3.8.3...3.8.4
Summary:
v3.8.3
Compare Source
v3.8.2
Compare Source
v3.8.1
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.