Title: tarfile: Traversal attack vulnerability · Issue #65308 · python/cpython · GitHub
Open Graph Title: tarfile: Traversal attack vulnerability · Issue #65308 · python/cpython
X Title: tarfile: Traversal attack vulnerability · Issue #65308 · python/cpython
Description: BPO 21109 Nosy @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5 PRs #15244 Dependencies bpo-17102: tarfile extract can...
Open Graph Description: BPO 21109 Nosy @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5 PRs #15244 Dep...
X Description: BPO 21109 Nosy @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5 PRs #15244 Dep...
Opengraph URL: https://github.com/python/cpython/issues/65308
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tarfile: Traversal attack vulnerability","articleBody":"BPO | [21109](https://bugs.python.org/issue21109)\n--- | :---\nNosy | @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5\nPRs | \u003cli\u003epython/cpython#15244\u003c/li\u003e\nDependencies | \u003cli\u003ebpo-17102: tarfile extract can write files outside the destination path\u003c/li\u003e\u003cli\u003ebpo-29788: [Security] tarfile: Add absolute_path option to tarfile, disabled by default\u003c/li\u003e\nFiles | \u003cli\u003e[prevent-tar-traversal-attack.diff](https://bugs.python.org/file34676/prevent-tar-traversal-attack.diff \"Uploaded as text/plain at 2014-03-31.08:14:17 by Daniel.Garcia\"): patch to prevent\u003c/li\u003e\u003cli\u003e[safetarfile-1.diff](https://bugs.python.org/file35127/safetarfile-1.diff \"Uploaded as text/plain at 2014-05-01.12:12:08 by @gustaebel\"): New SafeTarFile class and documentation\u003c/li\u003e\u003cli\u003e[safetarfile-2.diff](https://bugs.python.org/file47800/safetarfile-2.diff \"Uploaded as text/plain at 2018-09-13.04:03:14 by @shanxS\")\u003c/li\u003e\u003cli\u003e[safetarfile-3.diff](https://bugs.python.org/file47803/safetarfile-3.diff \"Uploaded as text/plain at 2018-09-14.07:21:53 by @shanxS\")\u003c/li\u003e\u003cli\u003e[safetarfile-4.diff](https://bugs.python.org/file47826/safetarfile-4.diff \"Uploaded as text/plain at 2018-09-26.07:18:06 by @shanxS\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/gustaebel'\nclosed_at = None\ncreated_at = \u003cDate 2014-03-31.08:14:19.090\u003e\nlabels = ['type-security', 'library', '3.9']\ntitle = 'tarfile: Traversal attack vulnerability'\nupdated_at = \u003cDate 2021-02-27.08:56:06.564\u003e\nuser = 'https://bugs.python.org/DanielGarcia'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-02-27.08:56:06.564\u003e\nactor = 'vstinner'\nassignee = 'lars.gustaebel'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2014-03-31.08:14:19.090\u003e\ncreator = 'Daniel.Garcia'\ndependencies = ['17102', '29788']\nfiles = ['34676', '35127', '47800', '47803', '47826']\nhgrepos = []\nissue_num = 21109\nkeywords = ['patch', 'security_issue']\nmessage_count = 35.0\nmessages = ['215222', '215223', '215224', '215225', '215226', '215237', '215239', '215242', '215656', '215658', '216675', '217188', '217189', '217690', '277339', '289438', '324193', '324198', '324262', '324908', '325229', '325329', '325491', '325607', '325635', '326423', '326437', '327451', '327458', '334921', '335078', '335292', '349517', '349583', '387772']\nnosy_count = 19.0\nnosy_names = ['georg.brandl', 'jcea', 'lars.gustaebel', 'vstinner', 'taleinat', 'christian.heimes', 'benjamin.peterson', 'jwilk', 'ned.deily', 'Arfrever', 'martin.panter', 'serhiy.storchaka', 'edulix', 'Daniel.Garcia', 'Philippe.Godbout', 'shanxS', 'epicfaace', 'uhei3nn9', 'Jeffrey.Kintscher']\npr_nums = ['15244']\npriority = 'high'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'security'\nurl = 'https://bugs.python.org/issue21109'\nversions = ['Python 3.9']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/DanielGarcia","@type":"Person","name":"DanielGarcia"},"datePublished":"2014-03-31T08:14:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":39},"url":"https://github.com/65308/cpython/issues/65308"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:da794e1b-7b3a-30e9-b165-1a0f8f5df248 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C916:1478A3:B0CE3:F8979:696A0254 |
| html-safe-nonce | dc59b19617895330e9d6ad4b3867ab6d9bac75d8f8ef3557239b95e5a01fd6f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTE2OjE0NzhBMzpCMENFMzpGODk3OTo2OTZBMDI1NCIsInZpc2l0b3JfaWQiOiI2MjI5NDY5NjcyMjQ4MDUwMjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a5f8fa1a1e235043540563d34bd502683beee461ee78632bcb911c352a70643a |
| hovercard-subject-tag | issue:1198918461 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/65308/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc7dcaa5e029cf955e0cf07ec2ba7f3b6ea7ecd4283027c84a5ce1a0490bba5c/python/cpython/issues/65308 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc7dcaa5e029cf955e0cf07ec2ba7f3b6ea7ecd4283027c84a5ce1a0490bba5c/python/cpython/issues/65308 |
| og:image:alt | BPO 21109 Nosy @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5 PRs #15244 Dep... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielGarcia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width