Skip to content

Update dependency symfony/http-client to v5.4.53 [SECURITY] - #577

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/packagist-symfony-http-client-vulnerability
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/packagist-symfony-http-client-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
symfony/http-client (source) 5.4.95.4.53 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

CVE-2024-50342 / GHSA-9c3x-r3wp-mgxm

More information

Details

Description

When using the NoPrivateNetworkHttpClient, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.

Resolution

The NoPrivateNetworkHttpClient now filters blocked IPs earlier to prevent such leaks.

The fisrt patch for this issue is available here for branch 5.4.

The second one is available here for branch 5.4 also.

Credits

We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.

Severity

  • CVSS Score: 2.3 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

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


Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient

CVE-2026-48736 / GHSA-38cx-cq6f-5755

More information

Details

Description

Symfony\Component\HttpClient\NoPrivateNetworkHttpClient is documented as a decorator that blocks requests to private networks by default. The list of blocked subnets (Symfony\Component\HttpFoundation\IpUtils::PRIVATE_SUBNETS on 6.4+, a private constant in NoPrivateNetworkHttpClient on 5.4) enumerates RFC1918, loopback, link-local and IPv4-mapped IPv6 (::ffff:0:0/96) prefixes, but omits the remaining IPv6 transition forms that can embed a private IPv4 destination: 6to4 (2002::/16, RFC 3056), Teredo (2001::/32, RFC 4380), NAT64 (64:ff9b::/96, RFC 6052 and 64:ff9b:1::/48, RFC 8215) and IPv4-compatible IPv6 (::/96, RFC 4291 §2.5.5.1).

IpUtils::checkIp6() is a pure bitwise CIDR comparison against the constants list and never extracts the embedded IPv4, so an attacker who can supply a URL writes the loopback / RFC1918 IPv4 target as e.g. http://[2002:7f00:1::]/ (6to4 → 127.0.0.1), http://[64:ff9b::7f00:1]/ (NAT64 → 127.0.0.1), http://[::7f00:1]/ (IPv4-compatible → 127.0.0.1) or http://[2001::1]/ (Teredo). IpUtils::isPrivateIp() returns false and NoPrivateNetworkHttpClient dispatches the request.

Real-world reachability of the embedded IPv4 depends on the deploy's IPv6 routing (6to4 tunnel interface, upstream NAT64 gateway, kernel handling of IPv4-compatible addresses), but the security boundary the decorator promises — the dispatch decision — is crossed regardless of whether the packet ultimately lands on the embedded IPv4.

Resolution

The private-subnet list now includes ::/96, 2002::/16, 2001::/32, 64:ff9b::/96 and 64:ff9b:1::/48. Blanket blocking of these prefixes matches the policy applied by Chromium and Mozilla's Private Network Access; server-side HTTPS APIs are not legitimately published on these prefixes.

The patches for this issue are available here for branch 5.4 and here for branch 6.4 (and forward-ported to 7.4, 8.0 and 8.1).

Credits

Symfony would like to thank tonghuaroot for reporting the issue and Nicolas Grekas for providing the fix.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

References

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


Release Notes

symfony/http-client (symfony/http-client)

v5.4.53

Compare Source

Changelog (symfony/http-client@v5.4.49...v5.4.53)

v5.4.49

Compare Source

Changelog (symfony/http-client@v5.4.48...v5.4.49)

v5.4.48

Compare Source

Changelog (symfony/http-client@v5.4.47...v5.4.48)

v5.4.47

Compare Source

Changelog (symfony/http-client@v5.4.46...v5.4.47)

v5.4.46

Compare Source

Changelog (symfony/http-client@v5.4.45...v5.4.46)

v5.4.45

Compare Source

Changelog (symfony/http-client@v5.4.44...v5.4.45)

  • no significant changes

v5.4.44

Compare Source

Changelog (symfony/http-client@v5.4.43...v5.4.44)

v5.4.43

Compare Source

Changelog (symfony/http-client@v5.4.42...v5.4.43)

v5.4.42

Compare Source

Changelog (symfony/http-client@v5.4.41...v5.4.42)

  • no significant changes

v5.4.41

Compare Source

Changelog (symfony/http-client@v5.4.40...v5.4.41)

v5.4.40

Compare Source

Changelog (symfony/http-client@v5.4.39...v5.4.40)

v5.4.39

Compare Source

Changelog (symfony/http-client@v5.4.38...v5.4.39)

v5.4.38

Compare Source

Changelog (symfony/http-client@v5.4.37...v5.4.38)

v5.4.37

Compare Source

Changelog (symfony/http-client@v5.4.36...v5.4.37)

v5.4.36

Compare Source

Changelog (symfony/http-client@v5.4.35...v5.4.36)

v5.4.35

Compare Source

Changelog (symfony/http-client@v5.4.34...v5.4.35)

v5.4.34

Compare Source

Changelog (symfony/http-client@v5.4.33...v5.4.34)

v5.4.31

Compare Source

Changelog (symfony/http-client@v5.4.30...v5.4.31)

v5.4.29

Compare Source

Changelog (symfony/http-client@v5.4.28...v5.4.29)

v5.4.26

Compare Source

Changelog (symfony/http-client@v5.4.25...v5.4.26)

  • no significant changes

v5.4.25

Compare Source

Changelog (symfony/http-client@v5.4.24...v5.4.25)

v5.4.24

Compare Source

Changelog (symfony/http-client@v5.4.23...v5.4.24)

v5.4.23

Compare Source

Changelog (symfony/http-client@v5.4.22...v5.4.23)

  • bug #​50072 Fix global state preventing two CurlHttpClient instances from working together (nicolas-grekas)
  • bug #​50004 fix proxied redirects in curl client (matthi4s)
  • bug #​49926 Fix canceling MockResponse (fancyweb)

v5.4.22

Compare Source

Changelog (symfony/http-client@v5.4.21...v5.4.22)

  • bug #​49796 Fix not calling the on progress callback when canceling a MockResponse (fancyweb)
  • bug #​49722 Encode and decode curly brackets {} (pbowyer)
  • bug #​49580 Fix encoding "+" in URLs (nicolas-grekas)

v5.4.21

Compare Source

Changelog (symfony/http-client@v5.4.20...v5.4.21)

  • bug #​49299 Fix over-encoding of URL parts to match browser's behavior (nicolas-grekas)
  • bug #​49301 Fix data collector (fancyweb)

v5.4.20

Compare Source

Changelog (symfony/http-client@v5.4.19...v5.4.20)

  • bug #​49104 Fix collecting data non-late for the profiler (nicolas-grekas)

v5.4.19

Compare Source

Changelog (symfony/http-client@v5.4.18...v5.4.19)

  • bug #​48966 Let curl handle content-length headers (nicolas-grekas)
  • bug #​48898 Move Http clients data collecting at a late level (pforesi)

v5.4.17

Compare Source

Changelog (symfony/http-client@v5.4.16...v5.4.17)

  • bug #​47836 TraceableHttpClient: increase decorator's priority (adpeyre)

v5.4.16

Compare Source

Changelog (symfony/http-client@v5.4.15...v5.4.16)

  • bug #​48173 Handle Amp HTTP client v5 incompatibility gracefully (fancyweb)
  • bug #​48103 Do not set http_version instead of setting it to null (Tetragramat)

v5.4.15

Compare Source

Changelog (symfony/http-client@v5.4.14...v5.4.15)

  • bug #​47990 Fix retrying requests when the content is used by the strategy (nicolas-grekas)
  • bug #​47879 Fix buffering after calling AsyncContext::passthru() (nicolas-grekas, lubo13)

v5.4.14

Compare Source

Changelog (symfony/http-client@v5.4.13...v5.4.14)

  • bug #​47808 Fix seeking in not-yet-initialized requests (nicolas-grekas)

v5.4.13

Compare Source

Changelog (symfony/http-client@v5.4.12...v5.4.13)

  • bug #​47441 Bugfix for delayed retryableHttpClient (martkop26)
  • bug #​47415 Psr18Client ignore invalid HTTP headers (nuryagdym)

v5.4.12

Compare Source

Changelog (symfony/http-client@v5.4.11...v5.4.12)

  • bug #​47145 Fix shared connections not being freed on PHP < 8 (nicolas-grekas)
  • bug #​47143 Fix memory leak when using StreamWrapper (nicolas-grekas)

v5.4.11

Compare Source

Changelog (symfony/http-client@v5.4.10...v5.4.11)

  • bug #​47086 Workaround disabled "var_dump" (nicolas-grekas)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 added the renovate label Nov 6, 2024
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch from 8fcf3ca to 79a96ff Compare November 13, 2024 18:45
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.46 [SECURITY] Update dependency symfony/http-client to v5.4.47 [SECURITY] Nov 13, 2024
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch from 79a96ff to 6b658b0 Compare August 10, 2025 12:36
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch from 6b658b0 to ba08944 Compare December 15, 2025 14:56
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.47 [SECURITY] Update dependency symfony/http-client to v5.4.47 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/packagist-symfony-http-client-vulnerability branch March 27, 2026 01:12
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.47 [SECURITY] - autoclosed Update dependency symfony/http-client to v5.4.47 [SECURITY] Mar 31, 2026
@renovate renovate Bot reopened this Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch 2 times, most recently from ba08944 to 4bf2c08 Compare March 31, 2026 00:38
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.47 [SECURITY] Update dependency symfony/http-client to v5.4.47 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.47 [SECURITY] - autoclosed Update dependency symfony/http-client to v5.4.47 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch 2 times, most recently from 4bf2c08 to 221b504 Compare April 27, 2026 23:04
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch from 221b504 to b52c447 Compare August 27, 2026 10:41
@renovate renovate Bot changed the title Update dependency symfony/http-client to v5.4.47 [SECURITY] Update dependency symfony/http-client to v5.4.53 [SECURITY] Aug 27, 2026
@renovate
renovate Bot force-pushed the renovate/packagist-symfony-http-client-vulnerability branch from b52c447 to a45832a Compare September 7, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants