Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps symfony/http-foundation from 4.4.1 to 4.4.29. 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.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)

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)
  • 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.1 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.4.1...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 Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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