Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

[Security] Bump symfony/http-foundation from 4.1.4 to 4.4.29 #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps symfony/http-foundation from 4.1.4 to 4.4.29. This update includes security fixes.

Vulnerabilities fixed

Sourced from The PHP Security Advisories Database.

CVE-2019-18888: Prevent argument injection in a MimeTypeGuesser

Affected versions: >=2.0.0, =4.3.0, <4.3.8

Sourced from The PHP Security Advisories Database.

CVE-2019-10913: Reject invalid HTTP method overrides

Affected versions: >=2.7.0, =4.2.0, <4.2.7

Release notes

Sourced from symfony/http-foundation's releases.

v4.4.29

Changelog (symfony/http-foundation@v4.4.28...v4.4.29)

  • bug #42289 Fixed type mismatch (Toflar)

v4.4.27

Changelog (symfony/http-foundation@v4.4.26...v4.4.27)

  • bug #42112 fix FileBag under PHP 8.1 (alexpott)
  • bug #42114 Fix return types of SessionHandler::gc() (derrabus)
  • bug #41384 Fix SkippedTestSuite (jderusse)

v4.4.26

Changelog (symfony/http-foundation@v4.4.25...v4.4.26)

  • bug #41670 allow savePath of NativeFileSessionHandler to be null (simon.chrzanowski)
  • bug #41495 Add ReturnTypeWillChange to SessionHandlers (nikic)

v4.4.25

Changelog (symfony/http-foundation@v4.4.24...v4.4.25)

  • no significant changes

v4.4.23

Changelog (symfony/http-foundation@v4.4.22...v4.4.23)

  • no significant changes

v4.4.22

Changelog (symfony/http-foundation@v4.4.21...v4.4.22)

  • bug #40964 Fixes for PHP 8.1 deprecations (jrmajor)
  • bug #40807 RequestMatcher issue when _controller is a closure (Plopix)
  • bug #40610 Fixed bugs found by psalm (Nyholm)

v4.4.20

Changelog (symfony/http-foundation@v4.4.19...v4.4.20)

  • bug #40231 Configure session.cookie_secure earlier (tamcy)
  • bug #40188 Fix PHP 8.1 null values (kylekatarnls)
  • bug #40043 Setting REQUEST_TIME_FLOAT when constructing a Request object (ctasada)

v4.4.19

Changelog (symfony/http-foundation@v4.4.18...v4.4.19)

  • bug #39633 Drop int return type from parseFilesize() (LukeTowers)
  • bug #39886 Revert #38614 and add assert to avoid regressions (BafS)
  • bug #39816 use atomic writes in MockFileSessionStorage (nicolas-grekas)
  • bug #39681 parse cookie values containing the equal sign (xabbuh)

... (truncated)

Changelog

Sourced from symfony/http-foundation's changelog.

CHANGELOG

5.3

  • Add the SessionFactory, NativeSessionStorageFactory, PhpBridgeSessionStorageFactory and MockFileSessionStorageFactory classes
  • Calling Request::getSession() when there is no available session throws a SessionNotFoundException
  • Add the RequestStack::getSession method
  • Deprecate the NamespacedAttributeBag class
  • Add ResponseFormatSame PHPUnit constraint
  • Deprecate the RequestStack::getMasterRequest() method and add getMainRequest() as replacement

5.2.0

  • added support for X-Forwarded-Prefix header
  • added HeaderUtils::parseQuery(): it does the same as parse_str() but preserves dots in variable names
  • added File::getContent()
  • added ability to use comma separated ip addresses for RequestMatcher::matchIps()
  • added Request::toArray() to parse a JSON request body to an array
  • added RateLimiter\RequestRateLimiterInterface and RateLimiter\AbstractRequestRateLimiter
  • deprecated not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter(); wrap your filter in a closure instead.
  • Deprecated the Request::HEADER_X_FORWARDED_ALL constant, use either HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO or HEADER_X_FORWARDED_AWS_ELB or HEADER_X_FORWARDED_TRAEFIK constants instead.
  • Deprecated BinaryFileResponse::create(), use __construct() instead

5.1.0

  • added Cookie::withValue, Cookie::withDomain, Cookie::withExpires, Cookie::withPath, Cookie::withSecure, Cookie::withHttpOnly, Cookie::withRaw, Cookie::withSameSite
  • Deprecate Response::create(), JsonResponse::create(), RedirectResponse::create(), and StreamedResponse::create() methods (use __construct() instead)
  • added Request::preferSafeContent() and Response::setContentSafe() to handle "safe" HTTP preference according to RFC 8674
  • made the Mime component an optional dependency
  • added MarshallingSessionHandler, IdentityMarshaller
  • made Session accept a callback to report when the session is being used
  • Add support for all core cache control directives
  • Added Symfony\Component\HttpFoundation\InputBag
  • Deprecated retrieving non-string values using InputBag::get(), use InputBag::all() if you need access to the collection of values

5.0.0

  • made Cookie auto-secure and lax by default
  • removed classes in the MimeType namespace, use the Symfony Mime component instead
  • removed method UploadedFile::getClientSize() and the related constructor argument

... (truncated)

Commits
  • 7016057 [HttpFoundation] Fixed type mismatch
  • 31d4a64 [4.4] Add missing @return annotations
  • 74abdd6 #42229 update phpdoc to recommend createIndex over ensureIndex
  • e18c77c fix intersection types in tests
  • afa486c Leverage str_contains/str_starts_with
  • 522ad92 Leverage str_ends_with
  • 8285da4 Simplify some code with null coalesce operator
  • c4d9e00 bug #42112 [HttpFoundation] fix FileBag under PHP 8.1 (alexpott)
  • 17a1c3d [HttpFoundation] fix FileBag under PHP 8.1
  • c087ba3 [HttpFoundation] Fix return types of SessionHandler::gc()
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [symfony/http-foundation](https://github.com/symfony/http-foundation) from 4.1.4 to 4.4.29. **This update includes security fixes.**
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/5.3/CHANGELOG.md)
- [Commits](symfony/http-foundation@v4.1.4...v4.4.29)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants