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.20 #223

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.20. 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.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

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

  • bug #38516 Fix Range Requests (BattleRattle)

v4.4.15

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.14...v4.4.15)

  • no changes

v4.4.14

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.13...v4.4.14)

  • no changes

v4.4.13

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.12...v4.4.13)

  • no changes

v4.4.12

Changelog (https://github.com/symfony/http-foundation/compare/v4.4.11...v4.4.12)

  • no changes

... (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
  • 02d9686 [HttpKernel] Configure session.cookie_secure earlier
  • c771f3b minor #40180 Fix: Article (localheinz)
  • 1ca188f Fix PHP 8.1 null values
  • 4f270f1 Fix: Article
  • 09e16fb bug #40043 [HttpFoundation] Setting REQUEST_TIME_FLOAT when constructing a ...
  • 234ef21 Streamline dataproviders
  • 63a198b [HttpFoundation] Setting REQUEST_TIME_FLOAT when constructing a Request object
  • 8888741 Use createMock() and use import instead of FQCN
  • 8248745 Changed private static array-properties to const
  • 7f49c84 [HttpFoundation] Drop int return type from parseFilesize()
  • 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 #225.