Title: CVE-2023-41040: Blind local file inclusion · Issue #1638 · gitpython-developers/GitPython · GitHub
Open Graph Title: CVE-2023-41040: Blind local file inclusion · Issue #1638 · gitpython-developers/GitPython
X Title: CVE-2023-41040: Blind local file inclusion · Issue #1638 · gitpython-developers/GitPython
Description: This issue is for tracking the public vulnerability CVE-2023-41040: In order to resolve some git references, GitPython reads files from the .git directory, in some places the name of the file being read is provided by the user, GitPython...
Open Graph Description: This issue is for tracking the public vulnerability CVE-2023-41040: In order to resolve some git references, GitPython reads files from the .git directory, in some places the name of the file being...
X Description: This issue is for tracking the public vulnerability CVE-2023-41040: In order to resolve some git references, GitPython reads files from the .git directory, in some places the name of the file being...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1638
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CVE-2023-41040: Blind local file inclusion","articleBody":"This issue is for tracking the public vulnerability CVE-2023-41040:\r\n\r\n\u003e In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system.\r\n\r\nFurther details, including example code, are in CVE-2023-41040.\r\n\r\n(I'm opening this issue based on the idea in https://github.com/gitpython-developers/GitPython/issues/1635#issuecomment-1698978394 that it's useful to have issues for these. This CVE has been mentioned in #1635, but if #1636 is merged then #1635 may be closed. #1636 fixes CVE-2023-40590 but does *not* also fix CVE-2023-41040.)","author":{"url":"https://github.com/EliahKagan","@type":"Person","name":"EliahKagan"},"datePublished":"2023-08-31T18:34:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1638/GitPython/issues/1638"}
| 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:8f89d439-2188-e7d1-1dee-3a7c47a2d749 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BCE:2BF340:37B53F:4EC45D:6968B559 |
| html-safe-nonce | b38952f607aaf1cdc23070c2bd500bf3194cc97c248f39afad68fdb5f5901067 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkNFOjJCRjM0MDozN0I1M0Y6NEVDNDVEOjY5NjhCNTU5IiwidmlzaXRvcl9pZCI6Ijg0Mjg1ODkyNTEwMzE1MTI0MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ab7c1e06e40924eeec2d31c2fbb2dd2c19efe977b5a806f1004913d36547a384 |
| hovercard-subject-tag | issue:1876081305 |
| 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/gitpython-developers/GitPython/1638/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58b5e47177d063d16c7c1d9d03e9c893f8d2815ee3fd2cf1476eb199a6e4969c/gitpython-developers/GitPython/issues/1638 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58b5e47177d063d16c7c1d9d03e9c893f8d2815ee3fd2cf1476eb199a6e4969c/gitpython-developers/GitPython/issues/1638 |
| og:image:alt | This issue is for tracking the public vulnerability CVE-2023-41040: In order to resolve some git references, GitPython reads files from the .git directory, in some places the name of the file being... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EliahKagan |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width