- Update dependency laravel/framework to v11.31.0 [SECURITY] - autoclosed #168
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:
11.25.0
->11.31.0
GitHub Vulnerability Alerts
CVE-2024-52301
Description
When the
register_argc_argv php
directive is set toon
, and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.Resolution
The framework now ignores argv values for environment detection on non-cli SAPIs.
Laravel environment manipulation via query string
BIT-laravel-2024-52301 / CVE-2024-52301 / GHSA-gv7v-rgg6-548h
More information
Details
Description
When the
register_argc_argv php
directive is set toon
, and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.Resolution
The framework now ignores argv values for environment detection on non-cli SAPIs.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
References
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
laravel/framework (laravel/framework)
v11.31.0
Compare Source
useCascadeTruncate
method forPostgresGrammar
by @korkoshko in https://github.com/laravel/framework/pull/53343URL::forceHttps()
to enforce HTTPS scheme for URLs by @dasundev in https://github.com/laravel/framework/pull/53381whereFullText
case consistency by @parth391 in https://github.com/laravel/framework/pull/53395HasFactory
trait tomake:model
generation command using--all
options by @adel007gh in https://github.com/laravel/framework/pull/53391Mail::build
by @stevebauman in https://github.com/laravel/framework/pull/53411AddLinkHeadersForPreloadedAssets
middleware by @jnoordsij in https://github.com/laravel/framework/pull/53463DB::build
method by @stevebauman in https://github.com/laravel/framework/pull/53464Cache::build
by @stevebauman in https://github.com/laravel/framework/pull/53454v11.30.0
Compare Source
$bind
parameter toBlade::directive
by @hossein-zare in https://github.com/laravel/framework/pull/53279trans_choice()
when translation replacement include|
separator by @crynobone in https://github.com/laravel/framework/pull/53331exists()
instead ofcount()
by @browner12 in https://github.com/laravel/framework/pull/53328vector
Column Type by @akr4m in https://github.com/laravel/framework/pull/53316dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
by @eusonlito in https://github.com/laravel/framework/pull/53305dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
" by @taylorotwell in https://github.com/laravel/framework/pull/53338HasUniqueStringIds
by @cosmastech in https://github.com/laravel/framework/pull/53280v11.29.0
Compare Source
Js::from(collect());
by @crynobone in https://github.com/laravel/framework/pull/53206castAsJson()
on non default db connection during test by @crynobone in https://github.com/laravel/framework/pull/53256waitUntil
method toProcess
by @xurshudyan in https://github.com/laravel/framework/pull/53236$previousLCurrency
to$previousCurrency
for clarity and consistency by @mdariftiens in https://github.com/laravel/framework/pull/53261v11.28.1
Compare Source
ViewMakeCommand
by @GrahamCampbell in https://github.com/laravel/framework/pull/53174PHP_CLI_SERVER_WORKERS
on Windows environment by @crynobone in https://github.com/laravel/framework/pull/53178enum_value()
function instead of only empty string by @crynobone in https://github.com/laravel/framework/pull/53181v11.28.0
Compare Source
null
as default cursor value for PHP Redis by @jayan-blutui in https://github.com/laravel/framework/pull/53095Illuminate\Support\enum_value
to resolveBackedEnum
orUnitEnum
to scalar by @crynobone in https://github.com/laravel/framework/pull/53096throw_if
andthrow_unless
to reflect actual behavior with "falsey" values by @crishoj in https://github.com/laravel/framework/pull/53154where
with array respects boolean by @timacdonald in https://github.com/laravel/framework/pull/53147throw_*
helpers by @crishoj in https://github.com/laravel/framework/pull/53164ProcessPoolResults
by @Riley19280 in https://github.com/laravel/framework/pull/53160v11.27.2
Compare Source
queue:work
Command by @crynobone in https://github.com/laravel/framework/pull/53076ServiceProvider::optimizes()
by @crynobone in https://github.com/laravel/framework/pull/53074v11.27.1
Compare Source
v11.27.0
Compare Source
Illuminate\Support\php_binary()
by @crynobone in https://github.com/laravel/framework/pull/53008Schema::hasTable()
performance by @hafezdivandari in https://github.com/laravel/framework/pull/53006Str::inlineMarkdown()
by @ryangjchandler in https://github.com/laravel/framework/pull/53033make:model
for Form Requests by @joshmanders in https://github.com/laravel/framework/pull/53052shouldConvertToBoolean
when parameter uses dot notation by @bytestream in https://github.com/laravel/framework/pull/53048--json
flag toqueue:work
command for structured logging by @josecl in https://github.com/laravel/framework/pull/52887v11.26.0
Compare Source
Enumerable::implode()
by @devfrey in https://github.com/laravel/framework/pull/52937RateLimiter
&RateLimited
middleware by @sethsandaru in https://github.com/laravel/framework/pull/52935REMOTE_ADDR
not working in Swoole by @chuoke in https://github.com/laravel/framework/pull/52889[@include](https://redirect.github.com/include)('vendor/autoload.php')
via Laravel Envoy by @s-damian in https://github.com/laravel/framework/pull/52974make:job-middleware
artisan command by @dshafik in https://github.com/laravel/framework/pull/52965Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.