Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

[Security] Bump symfony/http-foundation from 4.4.2 to 4.4.20 #288

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps symfony/http-foundation from 4.4.2 to 4.4.20. This update includes security fixes.

Vulnerabilities fixed

Sourced from The PHP Security Advisories Database.

CVE-2020-5255: Prevent cache poisoning via a Response Content-Type header

Affected versions: >=4.4.0, =5.0.0, <5.0.7

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects symfony/http-foundation Description

When ErrorHandler renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-debug environments.

Resolution

The ErrorHandler class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-debug environments.

The patches for this issue are available here and here for branch 4.4.

Credits

I would like to thank Luka Sikic for reporting & Yonel Ceruto and Jérémy Derussé for fixing the issue.

Affected versions: >= 4.4.0, < 4.4.4

Release notes

Sourced from symfony/http-foundation's releases.

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)

v4.4.18

Changelog (symfony/http-foundation@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 (symfony/http-foundation@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 (symfony/http-foundation@v4.4.15...v4.4.16)

  • bug #38516 Fix Range Requests (BattleRattle)

v4.4.15

Changelog (symfony/http-foundation@v4.4.14...v4.4.15)

  • no changes

v4.4.14

Changelog (symfony/http-foundation@v4.4.13...v4.4.14)

  • no changes

v4.4.13

Changelog (symfony/http-foundation@v4.4.12...v4.4.13)

  • no changes

v4.4.12

Changelog (symfony/http-foundation@v4.4.11...v4.4.12)

  • no changes

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


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)
  • 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.4.2 to 4.4.20. **This update includes security fixes.**
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/5.x/CHANGELOG.md)
- [Commits](symfony/http-foundation@v4.4.2...v4.4.20)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code security Pull requests that address a security vulnerability labels Mar 4, 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 php Pull requests that update Php code security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants