Skip to content

Update dependency guzzlehttp/psr7 to v2 [SECURITY]#124

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/packagist-guzzlehttp-psr7-vulnerability
Open

Update dependency guzzlehttp/psr7 to v2 [SECURITY]#124
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/packagist-guzzlehttp-psr7-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
guzzlehttp/psr7 1.8.12.4.5 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Improper Input Validation in guzzlehttp/psr7

CVE-2022-24775 / GHSA-q7rv-6hp3-vh96

More information

Details

Impact

Improper header parsing. An attacker could sneak in a carriage return character (\r) and pass untrusted values in both the header names and values.

Patches

The issue is patched in 1.8.4 and 2.1.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 the GitHub Advisory Database (CC-BY 4.0).


Improper header name validation in guzzlehttp/psr7

CVE-2023-29197 / GHSA-wxmh-65f7-jcvw

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.9.1 and 2.4.5.

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 the GitHub Advisory Database (CC-BY 4.0).


Release Notes

guzzle/psr7 (guzzlehttp/psr7)

v2.4.5

Compare Source

Fixed
  • Prevent possible warnings on unset variables in ServerRequest::normalizeNestedFileSpec
  • Fixed Message::bodySummary when preg_match fails
  • Fixed header validation issue

v2.4.4

Compare Source

Changed
  • Removed the need for AllowDynamicProperties in LazyOpenStream

v2.4.3

Compare Source

Changed
  • Replaced sha1(uniqid()) by bin2hex(random_bytes(20))

v2.4.2

Compare Source

Fixed
  • Fixed erroneous behaviour when combining host and relative path

v2.4.1

Compare Source

Fixed
  • Rewind body before reading in Message::bodySummary

v2.4.0

Compare Source

Added
  • Added provisional PHP 8.2 support
  • Added UriComparator::isCrossOrigin method

v2.3.0

Compare Source

Fixed
  • Added Header::splitList method
  • Added Utils::tryGetContents method
  • Improved Stream::getContents method
  • Updated mimetype mappings

v2.2.2

Compare Source

Fixed
  • Fix Message::parseRequestUri for numeric headers
  • Re-wrap exceptions thrown in fread into runtime exceptions
  • Throw an exception when multipart options is misformatted

v2.2.1

Compare Source

Fixed
  • Correct header value validation

v2.2.0

Compare Source

Added
  • A more compressive list of mime types
  • Add JsonSerializable to Uri
  • Missing return types
Fixed
  • Bug MultipartStream no uri metadata
  • Bug MultipartStream with filename for data:// streams
  • Fixed new line handling in MultipartStream
  • Reduced RAM usage when copying streams
  • Updated parsing in Header::normalize()

v2.1.2

Compare Source

See change log for changes.

v2.1.1

Compare Source

Fixed
  • Validate header values properly

v2.1.0

Compare Source

Changed
  • Attempting to create a Uri object from a malformed URI will no longer throw a generic
    InvalidArgumentException, but rather a MalformedUriException, which inherits from the former
    for backwards compatibility. Callers relying on the exception being thrown to detect invalid
    URIs should catch the new exception.
Fixed
  • Return null in caching stream size if remote size is null

v2.0.0

Compare Source

Identical to the RC release.

v1.9.1

Compare Source

See change log for changes.

v1.9.0

Compare Source

See change log for changes.

v1.8.5

Compare Source

See change log for changes.

v1.8.4

Compare Source

See change log for changes.

v1.8.3

Compare Source

See change log for changes.

v1.8.2

Compare Source

See change log for changes.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Nov 5, 2024
@renovate renovate Bot closed this Nov 5, 2024
@renovate renovate Bot deleted the renovate/packagist-guzzlehttp-psr7-vulnerability branch November 5, 2024 22:22
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Nov 6, 2024
@renovate renovate Bot restored the renovate/packagist-guzzlehttp-psr7-vulnerability branch November 6, 2024 00:25
@renovate renovate Bot reopened this Nov 6, 2024
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 964137d to 4f16647 Compare November 6, 2024 00:26
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Nov 19, 2024
@renovate renovate Bot closed this Nov 19, 2024
@renovate renovate Bot deleted the renovate/packagist-guzzlehttp-psr7-vulnerability branch November 19, 2024 04:48
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Nov 19, 2024
@renovate renovate Bot reopened this Nov 19, 2024
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from aff1a9a to 4f16647 Compare November 19, 2024 06:07
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Dec 24, 2024
@renovate renovate Bot closed this Dec 24, 2024
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Dec 25, 2024
@renovate renovate Bot reopened this Dec 25, 2024
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 908759b to 4f16647 Compare December 25, 2024 01:41
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Mar 21, 2025
@renovate renovate Bot closed this Mar 21, 2025
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Mar 21, 2025
@renovate renovate Bot reopened this Mar 21, 2025
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from f9a0407 to 4f16647 Compare March 21, 2025 22:19
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 4f16647 to 96fe87b Compare August 10, 2025 14:22
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 96fe87b to 0837753 Compare December 15, 2025 16:40
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 56c0dd9 to 0837753 Compare March 30, 2026 21:35
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 0837753 to 56c0dd9 Compare March 30, 2026 21:35
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 56c0dd9 to f2ba8dd Compare April 15, 2026 08:47
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v1.9.1 [SECURITY] Update dependency guzzlehttp/psr7 to v2 [SECURITY] Apr 15, 2026
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v2 [SECURITY] Update dependency guzzlehttp/psr7 to v2 [SECURITY] - autoclosed Apr 22, 2026
@renovate renovate Bot closed this Apr 22, 2026
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v2 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v2 [SECURITY] Apr 22, 2026
@renovate renovate Bot reopened this Apr 22, 2026
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch 2 times, most recently from f2ba8dd to 02c2388 Compare April 22, 2026 05:06
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v2 [SECURITY] Update dependency guzzlehttp/psr7 to v2 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency guzzlehttp/psr7 to v2 [SECURITY] - autoclosed Update dependency guzzlehttp/psr7 to v2 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/packagist-guzzlehttp-psr7-vulnerability branch from 02c2388 to bbf05ce Compare April 27, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants