Bogstag / bogstag.se

Repository for my personal playground
GNU General Public License v2.0
0 stars 0 forks source link

[Security] Bump symfony/http-foundation from 4.2.2 to 4.4.26 #228

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps symfony/http-foundation from 4.2.2 to 4.4.26. 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.26

Changelog (https://github.com/symfony/http-foundation/compare/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 (https://github.com/symfony/http-foundation/compare/v4.4.24...v4.4.25)

  • no significant changes

v4.4.23

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.22...v4.4.23)

  • no significant changes

v4.4.22

Changelog (https://github.com/symfony/http-foundation/compare/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 (https://github.com/symfony/http-foundation/compare/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 (https://github.com/symfony/http-foundation/compare/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)

v4.4.18

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.17...v4.4.18)

  • bug #39271 Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given (sidz)

v4.4.17

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.16...v4.4.17)

  • bug #38614 Fix for virtualhosts based on URL path (mvorisek)
  • bug #38894 Remove Symfony 3 compatibility code (derrabus)

v4.4.16

... (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
  • 8759ed5 -
  • 48b739b [HttpFoundation] allow savePath of NativeFileSessionHandler to be null
  • 2f37481 [HttpFoundation] Handle tentative return types
  • d1f7f2a minor #41614 [Mime] Fix CSV file mime type guess test for PHP 8.1 (alexandre-...
  • f9245d8 Fix tests (bis)
  • 89c7cca Add return types to JsonSerializable implementations
  • 7239a29 [HttpFoundation] Add ReturnTypeWillChange to SessionHandlers
  • 0c79d5a Fix markdown
  • 4938b9f Remove always-true requirement
  • 2ffb43b getProtocolVersion may return null
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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](https://app.dependabot.com): - 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)
dependabot-preview[bot] commented 3 years ago

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

dependabot-preview[bot] commented 3 years ago

Superseded by #232.