Title: Update dependency setuptools to v78 [SECURITY] by renovate[bot] · Pull Request #36 · protoconf/client-python · GitHub
Open Graph Title: Update dependency setuptools to v78 [SECURITY] by renovate[bot] · Pull Request #36 · protoconf/client-python
X Title: Update dependency setuptools to v78 [SECURITY] by renovate[bot] · Pull Request #36 · protoconf/client-python
Description: This PR contains the following updates: Package Change Age Confidence setuptools (changelog) ==74.0.0 → ==78.1.1 GitHub Vulnerability Alerts CVE-2025-47273 Summary A path traversal vulnerability in PackageIndex was fixed in setuptools version 78.1.1 Details def _download_url(self, url, tmpdir): # Determine download filename # name, _fragment = egg_info_for_url(url) if name: while '..' in name: name = name.replace('..', '.').replace('\\', '_') else: name = "__downloaded__" # default if URL has no path contents if name.endswith('.[egg.zip](http://egg.zip/)'): name = name[:-4] # strip the extra .zip before download --> filename = os.path.join(tmpdir, name) Here: https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88 os.path.join() discards the first argument tmpdir if the second begins with a slash or drive letter. name is derived from a URL without sufficient sanitization. While there is some attempt to sanitize by replacing instances of '..' with '.', it is insufficient. Risk Assessment As easy_install and package_index are deprecated, the exploitation surface is reduced. However, it seems this could be exploited in a similar fashion like GHSA-r9hx-vwmv-q579, and as described by POC 4 in GHSA-cx63-2mw6-8hw5 report: via malicious URLs present on the pages of a package index. Impact An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to RCE depending on the context. References https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5 https://github.com/pypa/setuptools/issues/4946 Release Notes pypa/setuptools (setuptools) v78.1.1 Compare Source v78.1.0 Compare Source v78.0.2 Compare Source v78.0.1 Compare Source v77.0.3 Compare Source v77.0.1 Compare Source v76.1.0 Compare Source v76.0.0 Compare Source v75.9.1 Compare Source v75.9.0 Compare Source v75.8.2 Compare Source v75.8.1 Compare Source v75.8.0 Compare Source v75.7.0 Compare Source v75.6.0 Compare Source v75.5.0 Compare Source v75.4.0 Compare Source v75.3.2 Compare Source v75.3.1 Compare Source v75.3.0 Compare Source v75.2.0 Compare Source v75.1.0 Compare Source v75.0.0 Compare Source v74.1.3 Compare Source v74.1.2 Compare Source v74.1.1 Compare Source v74.1.0 Compare Source Configuration 📅 Schedule: Branch creation - "" (UTC), 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.
Open Graph Description: This PR contains the following updates: Package Change Age Confidence setuptools (changelog) ==74.0.0 → ==78.1.1 GitHub Vulnerability Alerts CVE-2025-47273 Summary A path traversal vuln...
X Description: This PR contains the following updates: Package Change Age Confidence setuptools (changelog) ==74.0.0 → ==78.1.1 GitHub Vulnerability Alerts CVE-2025-47273 Summary A path traversal vuln...
Opengraph URL: https://github.com/protoconf/client-python/pull/36
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:427b8eff-5b31-823e-00d0-78744c532fbb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B156:3A31A8:1809445:1F6838E:698042B0 |
| html-safe-nonce | 470c71d67ff7fb70d213b34827e3b19af92e2f6e202986400373c684a17b55b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTU2OjNBMzFBODoxODA5NDQ1OjFGNjgzOEU6Njk4MDQyQjAiLCJ2aXNpdG9yX2lkIjoiNjM5ODE4Njc2MzcwOTMzNDE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da71a671978d300318dc02fac840722332268194cd12fe2b04cda606efe6be3b |
| hovercard-subject-tag | pull_request:2529757788 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/protoconf/client-python/pull/36/files |
| twitter:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| og:image:alt | This PR contains the following updates: Package Change Age Confidence setuptools (changelog) ==74.0.0 → ==78.1.1 GitHub Vulnerability Alerts CVE-2025-47273 Summary A path traversal vuln... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/protoconf/client-python git https://github.com/protoconf/client-python.git |
| octolytics-dimension-user_id | 51154987 |
| octolytics-dimension-user_login | protoconf |
| octolytics-dimension-repository_id | 820059494 |
| octolytics-dimension-repository_nwo | protoconf/client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 820059494 |
| octolytics-dimension-repository_network_root_nwo | protoconf/client-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width