Title: OOM vulnerability in the imaplib module · Issue #119511 · python/cpython · GitHub
Open Graph Title: OOM vulnerability in the imaplib module · Issue #119511 · python/cpython
X Title: OOM vulnerability in the imaplib module · Issue #119511 · python/cpython
Description: The IMAP4 protocol supports "literal" syntax, when one side specifies the size of the data and then sends the specified amount of bytes. The imaplib client reads such data with a single read(size) call, and therefore is affected by the g...
Open Graph Description: The IMAP4 protocol supports "literal" syntax, when one side specifies the size of the data and then sends the specified amount of bytes. The imaplib client reads such data with a single read(size) ...
X Description: The IMAP4 protocol supports "literal" syntax, when one side specifies the size of the data and then sends the specified amount of bytes. The imaplib client reads such data with a single r...
Opengraph URL: https://github.com/python/cpython/issues/119511
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OOM vulnerability in the imaplib module","articleBody":"The IMAP4 protocol supports \"literal\" syntax, when one side specifies the size of the data and then sends the specified amount of bytes. The `imaplib` client reads such data with a single `read(size)` call, and therefore is affected by the general vulnerability in the `read()` method -- it allocates the amount of memory that came from untrusted source. Just an attempt to connect to the malicious IMAP4 server can send your Python program in swap.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-119514\n* gh-129355\n* gh-129356\n* gh-129357\n* gh-129358\n* gh-130248\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2024-05-24T17:52:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/119511/cpython/issues/119511"}
| 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:c7ae6b32-353e-e9f4-a65a-7d191103c894 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB52:2731E4:55C61:6D4AF:69742C45 |
| html-safe-nonce | 600267226b4a2510ff05c9e16837770c3e9fa5724eeefabeb2fcf7bea4336386 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjUyOjI3MzFFNDo1NUM2MTo2RDRBRjo2OTc0MkM0NSIsInZpc2l0b3JfaWQiOiI4Mjk4ODQ5MzA5OTA2MTg1Mjg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 010f103f1bc716dec3976e8133ea5ae89cb67642d56803f09b7ed4a522a99709 |
| hovercard-subject-tag | issue:2315930944 |
| 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/119511/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02405e659e3a7e7be0edcd70ddcd930df755bce6e142cb73bf2f5092b2029d3e/python/cpython/issues/119511 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02405e659e3a7e7be0edcd70ddcd930df755bce6e142cb73bf2f5092b2029d3e/python/cpython/issues/119511 |
| og:image:alt | The IMAP4 protocol supports "literal" syntax, when one side specifies the size of the data and then sends the specified amount of bytes. The imaplib client reads such data with a single read(size) ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0c542b740cf8c6c6deff23a0eeffd05a0e8bd35565559ca5ec1535bcbb67e5c |
| 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 | 4e27a77ef0bf22cd9328967ddc1e1c3dfa6ffe51 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width