Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 12, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
nyholm/psr7 (source) require-dev minor 1.5.0 -> 1.6.1

GitHub Vulnerability Alerts

GHSA-wjfc-pgfp-pv9c

Impact

Improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n.

Patches

The issue is patched in 1.6.1.

Workarounds

There are no known workarounds.

References


Improper Input Validation in nyholm/psr7

GHSA-wjfc-pgfp-pv9c

More information

Details

Impact

Improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n.

Patches

The issue is patched in 1.6.1.

Workarounds

There are no known workarounds.

References

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

Nyholm/psr7 (nyholm/psr7)

v1.6.1

Compare Source

v1.6.0

Compare Source

Changed
  • Seek to the begining of the string when using Stream::create()
  • Populate ServerRequest::getQueryParams() on instantiation
  • Encode reserved characters in userinfo in Uri
  • Normalize leading slashes for Uri::getPath()
  • Make Stream's constructor public
  • Add some missing type checks on arguments

v1.5.1

Compare Source

Fixed
  • Fixed deprecations on PHP 8.1

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from WyriHaximus as a code owner August 12, 2023 18:44
@renovate renovate bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Aug 12, 2023
@github-actions github-actions bot added this to the 1.4.0 milestone Aug 12, 2023
@renovate renovate bot force-pushed the renovate/packagist-nyholm/psr7-vulnerability branch from 9eeff01 to 4e94f4b Compare August 12, 2023 22:38
@WyriHaximus WyriHaximus merged commit f929599 into master Aug 12, 2023
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 PHP 🐘 Hypertext Pre Processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants