Repository navigation
Block CGNAT (RFC6598) and NAT64 (RFC6052) ranges in SSRF guard - #9195
Conversation
getCurlResolveInfo() relies on PHP FILTER_FLAG_NO_PRIV_RANGE plus an explicit
PRIVATE_SUBNETS list. PHP's filter does not cover CGNAT 100.64.0.0/10
(RFC6598, used by Tailscale and some corporate/ISP networks) nor NAT64
64:ff9b::/96 (RFC6052, which maps IPv4 addresses incl. 169.254.169.254),
and neither range was in PRIVATE_SUBNETS, so an authenticated user could
still SSRF to those ranges (e.g. Tailscale peers, or NAT64-mapped cloud
metadata). Add both ranges to PRIVATE_SUBNETS.
Repro: filter_var('100.64.0.1', FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE
| FILTER_FLAG_NO_RES_RANGE) returns the IP (allowed); same for
'64:ff9b::a9fe:a9fe'.
Ref: GHSA-hcv2-vrhw-mjq8
|
Thanks @0xdeadrelay. Please add a line for you in https://github.com/FreshRSS/FreshRSS/blob/edge/CREDITS.md |
|
The RFC6598 range might be overkill to block from our side. |
|
The "not allowed to be resolved" error straight from SimplePie isn't particularly informative either. |
|
The main reason I included CGNAT is Tailscale, it assigns addresses in 100.64.0.0/10, so if someone runs FreshRSS on a machine that's also on a Tailscale network, all their tailnet peers are reachable via that range without the block. That was actually one of the things I hit during testing (ssrf to an internal service over a tailscale peer). A legit RSS feed being hosted behind carrier-grade NAT seems unlikely enough that I'd rather block by default. For NAT64 the concern is different, it's more of a bypass. http://[64:ff9b::169.254.169.254]/ will happily reach cloud metadata even though the IPv4 form is already blocked. So if you keep the IPv4 ranges but drop NAT64 there's an obvious gap. Happy to make it configurable if you'd rather not block by default though, maybe something in config.php? @Frenzie yeah that SimplePie error is pretty cryptic, could wrap it with something like "blocked by SSRF protection (private/reserved range)" |
We already have a mechanism to allow some IPs, so that is sufficient |
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` | --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300) [Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0) - Security - 💥 Disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#​8400](FreshRSS/FreshRSS#8400), [#​9195](FreshRSS/FreshRSS#9195) - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable - Passing `*` allows all networks like before (unsafe) - Improve SSRF mitigations by restricting `CURLOPT_PROXY` [#​8950](FreshRSS/FreshRSS#8950) - Fix auth CSRFs (login and register actions) [#​9171](FreshRSS/FreshRSS#9171) - Log invalid challenge and ignore JSON error during login [#​9278](FreshRSS/FreshRSS#9278) - Disallow fetching of non remote URI [#​9215](FreshRSS/FreshRSS#9215) - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#​9272](FreshRSS/FreshRSS#9272) - Fix access control in `rss` and `opml` actions [#​8912](FreshRSS/FreshRSS#8912) - Refactor to use CSRF field directly instead of borrowing it from a form [#​9169](FreshRSS/FreshRSS#9169), [#​9205](FreshRSS/FreshRSS#9205) - Cleaner limit anonymous mode to default user [#​9235](FreshRSS/FreshRSS#9235) - Fix HTML ingestions in templates [#​9146](FreshRSS/FreshRSS#9146), [#​9170](FreshRSS/FreshRSS#9170) - Fix bad header filtering bypass [#​8964](FreshRSS/FreshRSS#8964) - Sanitize all fields during JSON import [#​9168](FreshRSS/FreshRSS#9168) - Gate `greader` (JSON) user query share format behind *Share by OPML* [#​9248](FreshRSS/FreshRSS#9248) - Public OPML should not contain cURL parameters [#​9070](FreshRSS/FreshRSS#9070) - Ignore security-relevant OPML attributes for dynamic OPML sources [#​9276](FreshRSS/FreshRSS#9276) - Strip feed URL credentials from anonymous user query output [#​9246](FreshRSS/FreshRSS#9246) - Set limits for regex during search [#​8913](FreshRSS/FreshRSS#8913) - Fix path disclosure in cache error message [#​9206](FreshRSS/FreshRSS#9206) - Limit the length and parentheses nesting depth of a search query [#​9277](FreshRSS/FreshRSS#9277) - Use timing-safe comparison for tokens [#​8945](FreshRSS/FreshRSS#8945) - Use `hash_equals()` for GReader API token comparison [#​9183](FreshRSS/FreshRSS#9183) - Mailer: allow disabling SMTPAutoTLS via config [#​9026](FreshRSS/FreshRSS#9026) - Warn during install if document root does not point to `./p/` [#​9010](FreshRSS/FreshRSS#9010) - Stop the unread-count poller after the session ends [#​9065](FreshRSS/FreshRSS#9065) - Add remote IP address to warning on form login [#​8942](FreshRSS/FreshRSS#8942) - Pin the GitHub actions using SHA [#​9200](FreshRSS/FreshRSS#9200) - Harden cache and SimplePie cache deserialization [#​9273](FreshRSS/FreshRSS#9273) - SimplePie - Security: Disallow `javascript:` URI scheme (protocol) [#​8263](FreshRSS/FreshRSS#8263) - Fix wrong player parent logic leading to invalid type [#​8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978) - Consistently enable `XML_OPTION_PARSE_HUGE` [#​8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977) - Fix null warning in IRI for PHP 8.5+ [#​8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979) - Fix sanitizer whitelist stripping order [#​9066](FreshRSS/FreshRSS#9066) - Show only one representation per `media:group` [#​9009](FreshRSS/FreshRSS#9009) - Bump upstream SimplePie [#​8947](FreshRSS/FreshRSS#8947) - Features - Filter global view feed list by state and search [#​9132](FreshRSS/FreshRSS#9132) - Use global view when searching from subscription page [#​9144](FreshRSS/FreshRSS#9144) - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#​8844](FreshRSS/FreshRSS#8844) - Refresh only feeds in the current view [#​9060](FreshRSS/FreshRSS#9060) - Offer to add a prefix when resharing user labels [#​9236](FreshRSS/FreshRSS#9236) - Add log search to the logs page [#​9059](FreshRSS/FreshRSS#9059) - Add configurable `log_level` system setting [#​9185](FreshRSS/FreshRSS#9185) - New option to keep or not the custom sort order when navigating between categories and feeds [#​8969](FreshRSS/FreshRSS#8969) - New per-feed option to show or hide enclosures (attachments) [#​9015](FreshRSS/FreshRSS#9015) - Detect JSON feeds from URLs containing `json` [#​9058](FreshRSS/FreshRSS#9058) - Also when subscribing via the API [#​9167](FreshRSS/FreshRSS#9167) - Order categories during OPML import/export according to position [#​9203](FreshRSS/FreshRSS#9203) - OPML: include each feed’s refresh interval (TTL) in export/import [#​8982](FreshRSS/FreshRSS#8982) - Log failed CSS content retrieval (Web scraping) [#​9077](FreshRSS/FreshRSS#9077) - Allow providing a category when adding a feed by bookmarklet [#​9047](FreshRSS/FreshRSS#9047) - Add LinkAce sharing service [#​9024](FreshRSS/FreshRSS#9024) - Add Nextcloud Bookmarks sharing service [#​9032](FreshRSS/FreshRSS#9032) - Bug fixing - Fix lost elements while parsing search query [#​8884](FreshRSS/FreshRSS#8884) - Fix “mark as read older than…” widening the active search [#​9173](FreshRSS/FreshRSS#9173) - Fix saving user queries [#​9190](FreshRSS/FreshRSS#9190) - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#​9036](FreshRSS/FreshRSS#9036) - Fix marking filtered label articles as read in SQLite and PostgreSQL [#​9264](FreshRSS/FreshRSS#9264) - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#​9136](FreshRSS/FreshRSS#9136) - PostgreSQL: make committing new entries resilient to duplicate keys [#​9231](FreshRSS/FreshRSS#9231) - Preserve negative timezone offsets in date intervals [#​9071](FreshRSS/FreshRSS#9071) - Fix feed dropdown bugs due to hash desync [#​8949](FreshRSS/FreshRSS#8949) - Fix slider not reinitializing after form submit [#​8973](FreshRSS/FreshRSS#8973) - Minz: Skip loading duplicated JS/CSS assets [#​9000](FreshRSS/FreshRSS#9000) - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#​8986](FreshRSS/FreshRSS#8986) - Fix statistics repartition averages [#​8996](FreshRSS/FreshRSS#8996) - Fix article hover date visibility [#​8997](FreshRSS/FreshRSS#8997) - Keep search and state filters when marking articles as read [#​9007](FreshRSS/FreshRSS#9007) - Fix `--db-prefix` silently drops following CLI flags [#​9042](FreshRSS/FreshRSS#9042) - Remove stale dynamic favicon links [#​9127](FreshRSS/FreshRSS#9127) - Fix desync between favicon and title unread counters [#​9262](FreshRSS/FreshRSS#9262) - Fix outdated username length hint on registration and install forms [#​9013](FreshRSS/FreshRSS#9013) - Redirect away from wrong URL paths [#​9075](FreshRSS/FreshRSS#9075) - Fix auto-share shortcut on first use [#​9072](FreshRSS/FreshRSS#9072) - Exclude hidden feeds from global view counts [#​9152](FreshRSS/FreshRSS#9152) - Fix only the last `<media:credit>` being written to the RSS output [#​9174](FreshRSS/FreshRSS#9174) - CLI - New `cli/reconfigure-user.php` to read/write per-user config attributes [#​8873](FreshRSS/FreshRSS#8873) - Report new articles count per feed in `app/actualize_script.php` output [#​8948](FreshRSS/FreshRSS#8948) - Output a diagnostic when the `cli/health.php` check fails [#​8980](FreshRSS/FreshRSS#8980) - API - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#​8845](FreshRSS/FreshRSS#8845) - Fever API: log the client IP address on authentication failure [#​8981](FreshRSS/FreshRSS#8981) - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#​9005](FreshRSS/FreshRSS#9005) - Deployment - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#​8916](FreshRSS/FreshRSS#8916) - Start supporting PHP 8.6+ - Docker dev `:newest` with PHP 8.6 [#​9155](FreshRSS/FreshRSS#9155) - Docker: attach provenance and SBOM attestations to the published image [#​9150](FreshRSS/FreshRSS#9150) - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#​8890](FreshRSS/FreshRSS#8890) - Fix `.dockerignore` being ignored during build in CI [#​9001](FreshRSS/FreshRSS#9001) - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#​9191](FreshRSS/FreshRSS#9191) - Check GMP during 32-bit installation [#​9046](FreshRSS/FreshRSS#9046) - Improve actualize mutex to allow multiple instances [#​9045](FreshRSS/FreshRSS#9045) - OIDC: redirect to a default URL on expired auth state instead of 400 [#​9143](FreshRSS/FreshRSS#9143) - UI - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#​8870](FreshRSS/FreshRSS#8870) - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#​9139](FreshRSS/FreshRSS#9139) - Move disable button before remove button in user management [#​8944](FreshRSS/FreshRSS#8944) - Keep scroll position of slider after form submit [#​8974](FreshRSS/FreshRSS#8974) - Group export feeds by category [#​9079](FreshRSS/FreshRSS#9079), [#​9154](FreshRSS/FreshRSS#9154) - Sort feed names with locale-aware collation [#​8985](FreshRSS/FreshRSS#8985) - Sort labels with locale-aware collation [#​9023](FreshRSS/FreshRSS#9023) - Format unread counter in title on page load [#​9263](FreshRSS/FreshRSS#9263) - Display slider after submit for all buttons in feed update UI [#​8999](FreshRSS/FreshRSS#8999) - Improve aside keyboard navigation [#​9202](FreshRSS/FreshRSS#9202) - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#​9186](FreshRSS/FreshRSS#9186) - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#​8901](FreshRSS/FreshRSS#8901) - Fix typo in alert error border `color` variable [#​9266](FreshRSS/FreshRSS#9266) - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#​9035](FreshRSS/FreshRSS#9035) - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#​9025](FreshRSS/FreshRSS#9025) - Remove unused simple layout [#​8998](FreshRSS/FreshRSS#8998) - Various UI and style improvements: [#​8823](FreshRSS/FreshRSS#8823), [#​8824](FreshRSS/FreshRSS#8824), [#​9140](FreshRSS/FreshRSS#9140), [#​9145](FreshRSS/FreshRSS#9145) - Extensions - Minor `Minz_Extension` typing [#​8952](FreshRSS/FreshRSS#8952) - Improve extension list fetch diagnostics [#​9055](FreshRSS/FreshRSS#9055) - Fix a PHP warning in *Serve* action [#​9267](FreshRSS/FreshRSS#9267) - Fix extension settings cancel action [#​9053](FreshRSS/FreshRSS#9053) - Fix sharing menu conflicts with extensions [#​9074](FreshRSS/FreshRSS#9074) - Add read status hook for entries [#​8995](FreshRSS/FreshRSS#8995) - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#​9031](FreshRSS/FreshRSS#9031) - Redirect after saving user CSS/JS so changes apply immediately [#​9006](FreshRSS/FreshRSS#9006) - I18n - New plural system [#​8988](FreshRSS/FreshRSS#8988) - Pluralize the *new articles* count message - Prefer OS-bundled Japanese fonts when UI language is Japanese [#​9002](FreshRSS/FreshRSS#9002) - Add Azerbaijani [#​9269](FreshRSS/FreshRSS#9269) - Add Lithuanian [#​9201](FreshRSS/FreshRSS#9201), [#​9213](FreshRSS/FreshRSS#9213) - Improve Brazilian Portuguese [#​9240](FreshRSS/FreshRSS#9240), [#​9242](FreshRSS/FreshRSS#9242) - Improve German [#​9149](FreshRSS/FreshRSS#9149) - Improve Greek [#​8977](FreshRSS/FreshRSS#8977), [#​9038](FreshRSS/FreshRSS#9038) - Improve Hungarian [#​8879](FreshRSS/FreshRSS#8879) - Improve Indonesian (Bahasa Indonesia) [#​9220](FreshRSS/FreshRSS#9220) - Improve Italian [#​8880](FreshRSS/FreshRSS#8880) - Improve Japanese [#​9064](FreshRSS/FreshRSS#9064) - Improve Persian [#​8923](FreshRSS/FreshRSS#8923) - Improve Spanish [#​8878](FreshRSS/FreshRSS#8878), [#​9245](FreshRSS/FreshRSS#9245) - Improve Traditional Chinese [#​9037](FreshRSS/FreshRSS#9037), [#​9069](FreshRSS/FreshRSS#9069), [#​9223](FreshRSS/FreshRSS#9223) - Improve Turkish [#​8966](FreshRSS/FreshRSS#8966), [#​8971](FreshRSS/FreshRSS#8971), [#​8970](FreshRSS/FreshRSS#8970), [#​8989](FreshRSS/FreshRSS#8989) - Improve Ukrainian [#​8871](FreshRSS/FreshRSS#8871) - Refactor user query translation keys [#​9049](FreshRSS/FreshRSS#9049) - Misc. - Update to PHPMailer 7.1.1 [#​8907](FreshRSS/FreshRSS#8907) - Improve PHP code [#​8906](FreshRSS/FreshRSS#8906), [#​9156](FreshRSS/FreshRSS#9156) - Fix PHPStan 2.2.2 in CLI [#​8911](FreshRSS/FreshRSS#8911) - Migrate `markdownlint-cli` to `markdownlint-cli2` [#​8987](FreshRSS/FreshRSS#8987) - Update dev dependencies [#​8904](FreshRSS/FreshRSS#8904), [#​8905](FreshRSS/FreshRSS#8905), [#​8926](FreshRSS/FreshRSS#8926), [#​8939](FreshRSS/FreshRSS#8939), [#​8940](FreshRSS/FreshRSS#8940), [#​8963](FreshRSS/FreshRSS#8963), [#​8961](FreshRSS/FreshRSS#8961), [#​8959](FreshRSS/FreshRSS#8959), [#​8958](FreshRSS/FreshRSS#8958), [#​8962](FreshRSS/FreshRSS#8962), [#​8960](FreshRSS/FreshRSS#8960), [#​9148](FreshRSS/FreshRSS#9148), [#​9162](FreshRSS/FreshRSS#9162), [#​9165](FreshRSS/FreshRSS#9165), [#​9158](FreshRSS/FreshRSS#9158), [#​9159](FreshRSS/FreshRSS#9159), [#​9176](FreshRSS/FreshRSS#9176), [#​9178](FreshRSS/FreshRSS#9178), [#​9179](FreshRSS/FreshRSS#9179), [#​9219](FreshRSS/FreshRSS#9219), [#​9253](FreshRSS/FreshRSS#9253), [#​9254](FreshRSS/FreshRSS#9254), [#​9255](FreshRSS/FreshRSS#9255), [#​9257](FreshRSS/FreshRSS#9257) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42Ni4xIiwidXBkYXRlZEluVmVyIjoiNDQuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/157
…056) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/6) for more information. --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300) [Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0) - Security - 💥 SSRF mitigation: disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#​8400](FreshRSS/FreshRSS#8400), [#​8950](FreshRSS/FreshRSS#8950), [#​9195](FreshRSS/FreshRSS#9195) - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable - Passing `*` allows all networks like before (unsafe) - Fix auth CSRFs (login and register actions) [#​9171](FreshRSS/FreshRSS#9171) - Log invalid challenge and ignore JSON error during login [#​9278](FreshRSS/FreshRSS#9278) - Disallow fetching of non remote URI [#​9215](FreshRSS/FreshRSS#9215) - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#​9272](FreshRSS/FreshRSS#9272) - Fix access control in `rss` and `opml` actions [#​8912](FreshRSS/FreshRSS#8912) - Refactor to use CSRF field directly instead of borrowing it from a form [#​9169](FreshRSS/FreshRSS#9169), [#​9205](FreshRSS/FreshRSS#9205) - Cleaner limit anonymous mode to default user [#​9235](FreshRSS/FreshRSS#9235) - Fix HTML ingestions in templates [#​9146](FreshRSS/FreshRSS#9146), [#​9170](FreshRSS/FreshRSS#9170) - Fix bad header filtering bypass [#​8964](FreshRSS/FreshRSS#8964) - Sanitize all fields during JSON import [#​9168](FreshRSS/FreshRSS#9168) - Gate `greader` (JSON) user query share format behind *Share by OPML* [#​9248](FreshRSS/FreshRSS#9248) - Public OPML should not contain cURL parameters [#​9070](FreshRSS/FreshRSS#9070) - Ignore security-relevant OPML attributes for dynamic OPML sources [#​9276](FreshRSS/FreshRSS#9276) - Strip feed URL credentials from anonymous user query output [#​9246](FreshRSS/FreshRSS#9246) - Set limits for regex during search [#​8913](FreshRSS/FreshRSS#8913) - Fix path disclosure in cache error message [#​9206](FreshRSS/FreshRSS#9206) - Limit the length and parentheses nesting depth of a search query [#​9277](FreshRSS/FreshRSS#9277) - Use timing-safe comparison for tokens [#​8945](FreshRSS/FreshRSS#8945) - Use `hash_equals()` for GReader API token comparison [#​9183](FreshRSS/FreshRSS#9183) - Mailer: allow disabling SMTPAutoTLS via config [#​9026](FreshRSS/FreshRSS#9026) - Warn during install if document root does not point to `./p/` [#​9010](FreshRSS/FreshRSS#9010) - Stop the unread-count poller after the session ends [#​9065](FreshRSS/FreshRSS#9065) - Add remote IP address to warning on form login [#​8942](FreshRSS/FreshRSS#8942) - Pin the GitHub actions using SHA [#​9200](FreshRSS/FreshRSS#9200) - Harden cache and SimplePie cache deserialization [#​9273](FreshRSS/FreshRSS#9273) - SimplePie - Security: Disallow `javascript:` URI scheme (protocol) [#​8263](FreshRSS/FreshRSS#8263) - Fix wrong player parent logic leading to invalid type [#​8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978) - Consistently enable `XML_OPTION_PARSE_HUGE` [#​8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977) - Fix null warning in IRI for PHP 8.5+ [#​8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979) - Fix sanitizer whitelist stripping order [#​9066](FreshRSS/FreshRSS#9066) - Show only one representation per `media:group` [#​9009](FreshRSS/FreshRSS#9009) - Bump upstream SimplePie [#​8947](FreshRSS/FreshRSS#8947) - Features - Filter global view feed list by state and search [#​9132](FreshRSS/FreshRSS#9132) - Use global view when searching from subscription page [#​9144](FreshRSS/FreshRSS#9144) - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#​8844](FreshRSS/FreshRSS#8844) - Refresh only feeds in the current view [#​9060](FreshRSS/FreshRSS#9060) - Offer to add a prefix when resharing user labels [#​9236](FreshRSS/FreshRSS#9236) - Add log search to the logs page [#​9059](FreshRSS/FreshRSS#9059) - Add configurable `log_level` system setting [#​9185](FreshRSS/FreshRSS#9185) - New option to keep or not the custom sort order when navigating between categories and feeds [#​8969](FreshRSS/FreshRSS#8969) - New per-feed option to show or hide enclosures (attachments) [#​9015](FreshRSS/FreshRSS#9015) - Detect JSON feeds from URLs containing `json` [#​9058](FreshRSS/FreshRSS#9058) - Also when subscribing via the API [#​9167](FreshRSS/FreshRSS#9167) - Order categories during OPML import/export according to position [#​9203](FreshRSS/FreshRSS#9203) - OPML: include each feed’s refresh interval (TTL) in export/import [#​8982](FreshRSS/FreshRSS#8982) - Log failed CSS content retrieval (Web scraping) [#​9077](FreshRSS/FreshRSS#9077) - Allow providing a category when adding a feed by bookmarklet [#​9047](FreshRSS/FreshRSS#9047) - Add LinkAce sharing service [#​9024](FreshRSS/FreshRSS#9024) - Add Nextcloud Bookmarks sharing service [#​9032](FreshRSS/FreshRSS#9032) - Bug fixing - Fix lost elements while parsing search query [#​8884](FreshRSS/FreshRSS#8884) - Fix “mark as read older than…” widening the active search [#​9173](FreshRSS/FreshRSS#9173) - Fix saving user queries [#​9190](FreshRSS/FreshRSS#9190) - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#​9036](FreshRSS/FreshRSS#9036) - Fix marking filtered label articles as read in SQLite and PostgreSQL [#​9264](FreshRSS/FreshRSS#9264) - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#​9136](FreshRSS/FreshRSS#9136) - PostgreSQL: make committing new entries resilient to duplicate keys [#​9231](FreshRSS/FreshRSS#9231) - Preserve negative timezone offsets in date intervals [#​9071](FreshRSS/FreshRSS#9071) - Fix feed dropdown bugs due to hash desync [#​8949](FreshRSS/FreshRSS#8949) - Fix slider not reinitializing after form submit [#​8973](FreshRSS/FreshRSS#8973) - Minz: Skip loading duplicated JS/CSS assets [#​9000](FreshRSS/FreshRSS#9000) - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#​8986](FreshRSS/FreshRSS#8986) - Fix statistics repartition averages [#​8996](FreshRSS/FreshRSS#8996) - Fix article hover date visibility [#​8997](FreshRSS/FreshRSS#8997) - Keep search and state filters when marking articles as read [#​9007](FreshRSS/FreshRSS#9007) - Fix `--db-prefix` silently drops following CLI flags [#​9042](FreshRSS/FreshRSS#9042) - Remove stale dynamic favicon links [#​9127](FreshRSS/FreshRSS#9127) - Fix desync between favicon and title unread counters [#​9262](FreshRSS/FreshRSS#9262) - Fix outdated username length hint on registration and install forms [#​9013](FreshRSS/FreshRSS#9013) - Redirect away from wrong URL paths [#​9075](FreshRSS/FreshRSS#9075) - Fix auto-share shortcut on first use [#​9072](FreshRSS/FreshRSS#9072) - Exclude hidden feeds from global view counts [#​9152](FreshRSS/FreshRSS#9152) - Fix only the last `<media:credit>` being written to the RSS output [#​9174](FreshRSS/FreshRSS#9174) - CLI - New `cli/reconfigure-user.php` to read/write per-user config attributes [#​8873](FreshRSS/FreshRSS#8873) - Report new articles count per feed in `app/actualize_script.php` output [#​8948](FreshRSS/FreshRSS#8948) - Output a diagnostic when the `cli/health.php` check fails [#​8980](FreshRSS/FreshRSS#8980) - API - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#​8845](FreshRSS/FreshRSS#8845) - Fever API: log the client IP address on authentication failure [#​8981](FreshRSS/FreshRSS#8981) - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#​9005](FreshRSS/FreshRSS#9005) - Deployment - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#​8916](FreshRSS/FreshRSS#8916) - Start supporting PHP 8.6+ - Docker dev `:newest` with PHP 8.6 [#​9155](FreshRSS/FreshRSS#9155) - Docker: attach provenance and SBOM attestations to the published image [#​9150](FreshRSS/FreshRSS#9150) - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#​8890](FreshRSS/FreshRSS#8890) - Fix `.dockerignore` being ignored during build in CI [#​9001](FreshRSS/FreshRSS#9001) - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#​9191](FreshRSS/FreshRSS#9191) - Check GMP during 32-bit installation [#​9046](FreshRSS/FreshRSS#9046) - Improve actualize mutex to allow multiple instances [#​9045](FreshRSS/FreshRSS#9045) - OIDC: redirect to a default URL on expired auth state instead of 400 [#​9143](FreshRSS/FreshRSS#9143) - UI - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#​8870](FreshRSS/FreshRSS#8870) - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#​9139](FreshRSS/FreshRSS#9139) - Move disable button before remove button in user management [#​8944](FreshRSS/FreshRSS#8944) - Keep scroll position of slider after form submit [#​8974](FreshRSS/FreshRSS#8974) - Group export feeds by category [#​9079](FreshRSS/FreshRSS#9079), [#​9154](FreshRSS/FreshRSS#9154) - Sort feed names with locale-aware collation [#​8985](FreshRSS/FreshRSS#8985) - Sort labels with locale-aware collation [#​9023](FreshRSS/FreshRSS#9023) - Format unread counter in title on page load [#​9263](FreshRSS/FreshRSS#9263) - Display slider after submit for all buttons in feed update UI [#​8999](FreshRSS/FreshRSS#8999) - Improve aside keyboard navigation [#​9202](FreshRSS/FreshRSS#9202) - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#​9186](FreshRSS/FreshRSS#9186) - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#​8901](FreshRSS/FreshRSS#8901) - Fix typo in alert error border `color` variable [#​9266](FreshRSS/FreshRSS#9266) - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#​9035](FreshRSS/FreshRSS#9035) - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#​9025](FreshRSS/FreshRSS#9025) - Remove unused simple layout [#​8998](FreshRSS/FreshRSS#8998) - Various UI and style improvements: [#​8823](FreshRSS/FreshRSS#8823), [#​8824](FreshRSS/FreshRSS#8824), [#​9140](FreshRSS/FreshRSS#9140), [#​9145](FreshRSS/FreshRSS#9145) - Extensions - Minor `Minz_Extension` typing [#​8952](FreshRSS/FreshRSS#8952) - Improve extension list fetch diagnostics [#​9055](FreshRSS/FreshRSS#9055) - Fix a PHP warning in *Serve* action [#​9267](FreshRSS/FreshRSS#9267) - Fix extension settings cancel action [#​9053](FreshRSS/FreshRSS#9053) - Fix sharing menu conflicts with extensions [#​9074](FreshRSS/FreshRSS#9074) - Add read status hook for entries [#​8995](FreshRSS/FreshRSS#8995) - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#​9031](FreshRSS/FreshRSS#9031) - Redirect after saving user CSS/JS so changes apply immediately [#​9006](FreshRSS/FreshRSS#9006) - I18n - New plural system [#​8988](FreshRSS/FreshRSS#8988) - Pluralize the *new articles* count message - Prefer OS-bundled Japanese fonts when UI language is Japanese [#​9002](FreshRSS/FreshRSS#9002) - Add Azerbaijani [#​9269](FreshRSS/FreshRSS#9269) - Add Lithuanian [#​9201](FreshRSS/FreshRSS#9201), [#​9213](FreshRSS/FreshRSS#9213) - Improve Brazilian Portuguese [#​9240](FreshRSS/FreshRSS#9240), [#​9242](FreshRSS/FreshRSS#9242) - Improve German [#​9149](FreshRSS/FreshRSS#9149) - Improve Greek [#​8977](FreshRSS/FreshRSS#8977), [#​9038](FreshRSS/FreshRSS#9038) - Improve Hungarian [#​8879](FreshRSS/FreshRSS#8879) - Improve Indonesian (Bahasa Indonesia) [#​9220](FreshRSS/FreshRSS#9220) - Improve Italian [#​8880](FreshRSS/FreshRSS#8880) - Improve Japanese [#​9064](FreshRSS/FreshRSS#9064) - Improve Persian [#​8923](FreshRSS/FreshRSS#8923) - Improve Spanish [#​8878](FreshRSS/FreshRSS#8878), [#​9245](FreshRSS/FreshRSS#9245) - Improve Traditional Chinese [#​9037](FreshRSS/FreshRSS#9037), [#​9069](FreshRSS/FreshRSS#9069), [#​9223](FreshRSS/FreshRSS#9223) - Improve Turkish [#​8966](FreshRSS/FreshRSS#8966), [#​8971](FreshRSS/FreshRSS#8971), [#​8970](FreshRSS/FreshRSS#8970), [#​8989](FreshRSS/FreshRSS#8989) - Improve Ukrainian [#​8871](FreshRSS/FreshRSS#8871) - Refactor user query translation keys [#​9049](FreshRSS/FreshRSS#9049) - Misc. - Update to PHPMailer 7.1.1 [#​8907](FreshRSS/FreshRSS#8907) - Improve PHP code [#​8906](FreshRSS/FreshRSS#8906), [#​9156](FreshRSS/FreshRSS#9156) - Fix PHPStan 2.2.2 in CLI [#​8911](FreshRSS/FreshRSS#8911) - Migrate `markdownlint-cli` to `markdownlint-cli2` [#​8987](FreshRSS/FreshRSS#8987) - Update dev dependencies [#​8904](FreshRSS/FreshRSS#8904), [#​8905](FreshRSS/FreshRSS#8905), [#​8926](FreshRSS/FreshRSS#8926), [#​8939](FreshRSS/FreshRSS#8939), [#​8940](FreshRSS/FreshRSS#8940), [#​8963](FreshRSS/FreshRSS#8963), [#​8961](FreshRSS/FreshRSS#8961), [#​8959](FreshRSS/FreshRSS#8959), [#​8958](FreshRSS/FreshRSS#8958), [#​8962](FreshRSS/FreshRSS#8962), [#​8960](FreshRSS/FreshRSS#8960), [#​9148](FreshRSS/FreshRSS#9148), [#​9162](FreshRSS/FreshRSS#9162), [#​9165](FreshRSS/FreshRSS#9165), [#​9158](FreshRSS/FreshRSS#9158), [#​9159](FreshRSS/FreshRSS#9159), [#​9176](FreshRSS/FreshRSS#9176), [#​9178](FreshRSS/FreshRSS#9178), [#​9179](FreshRSS/FreshRSS#9179), [#​9219](FreshRSS/FreshRSS#9219), [#​9253](FreshRSS/FreshRSS#9253), [#​9254](FreshRSS/FreshRSS#9254), [#​9255](FreshRSS/FreshRSS#9255), [#​9257](FreshRSS/FreshRSS#9257) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Rome) - 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNy4xIiwidXBkYXRlZEluVmVyIjoiNDQuMTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.aresu.eu/GiorgioAresu/home-ops/pulls/2056
| 'fc00::/7', // Unique Local Address | ||
| 'fe80::/10', // Link Local Address | ||
| '::ffff:0:0/96', // IPv4 translations | ||
| '64:ff9b::/96', // RFC6052 (IPv6 Addressing of IPv4/IPv6 Translators, NAT64) |
* Fix NAT64 feed fetching on IPv6-only hosts Closes #9371 Regression from #9195 Changes proposed in this pull request: * Fix feed fetching on IPv6-only hosts using NAT64. * Preserve SSRF protection by validating the IPv4 address embedded in RFC 6052 NAT64 addresses before allowing it in `CURLOPT_RESOLVE`. * Add regression tests for both public and private/reserved NAT64 addresses. * Minor formating * Add test tearDown * RFC8215 64:ff9b:1::/48 Credits: @onurcangnc --------- Co-authored-by: Viktor Platov <[email protected]> Co-authored-by: Alexandre Alapetite <[email protected]>
Follow-up to the edge SSRF guard (ref: GHSA-hcv2-vrhw-mjq8), as @Alkarex suggested.
Gap
getCurlResolveInfo()blocks private/reserved ranges via PHPFILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGEplus an explicitPRIVATE_SUBNETSlist. Two internal-ish ranges are not covered by either, so an authenticated user can still SSRF to them:100.64.0.0/10(RFC6598) — not in PHP'sNO_PRIV_RANGEand not inPRIVATE_SUBNETS. This is the range Tailscale (and some corporate/ISP networks) use, so SSRF to peers on those networks remains possible.64:ff9b::/96(RFC6052) — passes; on NAT64 networks[64:ff9b::a9fe:a9fe]maps to169.254.169.254, so cloud-metadata stays reachable via this form.The standard ranges are correctly blocked (169.254, RFC1918, loopback, IPv4-mapped
::ffff:0:0/96); only CGNAT + NAT64 slip through.Repro
Fix
Add both ranges to
PRIVATE_SUBNETSinapp/Utils/httpUtil.php(2 lines). Verified with the project's CIDR check:100.64.0.1and64:ff9b::a9fe:a9feare now blocked, while a public address (1.1.1.1) remains allowed.Ref: GHSA-hcv2-vrhw-mjq8