René's URL Explorer Experiment


Title: Update dependency cryptography to v50 [SECURITY] by renovate[bot] · Pull Request #5324 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Update dependency cryptography to v50 [SECURITY] by renovate[bot] · Pull Request #5324 · python-telegram-bot/python-telegram-bot

X Title: Update dependency cryptography to v50 [SECURITY] by renovate[bot] · Pull Request #5324 · python-telegram-bot/python-telegram-bot

Description: This PR contains the following updates: Package Change Age Confidence cryptography (changelog) 48.0.1 → 50.0.0 cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing CVE-2026-69247 / GHSA-g6cj-pr64-35w5 More information Details Summary pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime reported the outcome of decrypting a RecipientInfo's encryptedKey in several distinguishable ways, one of which disclosed the exact length recovered from the RSA operation. The same distinction was also observable by timing. An application that decrypts attacker-supplied EnvelopedData and reflects the outcome gives the attacker a Bleichenbacher oracle against the content-encryption key. Introduced in 44.0.0. Fixed in 50.0.0. Details Decryption ran as: RSA PKCS#1 v1.5 decrypt of encryptedKey → build an AES cipher from the result → AES-CBC decrypt and PKCS#7 unpad. Each stage failed differently, with no RFC 3218 mitigation: invalid RSA padding → Decryption failed valid padding, bad key length → Invalid key size (N) for AES., disclosing N correct length, wrong key → Invalid padding bytes. the real key → plaintext Case 1 is reachable only where the linked library lacks implicit rejection: OpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. On OpenSSL 3.2+, used in our wheels, invalid padding instead returns a synthetic plaintext of pseudorandom length, so the error channel does not distinguish conforming ciphertexts. Exploitation requires a service that auto-decrypts untrusted EnvelopedData matching the victim certificate and answers adaptively at high volume, such as an S/MIME gateway or mail filter. Fix Per RFC 3218, the content-encryption algorithm is now resolved before the private key is used, so the expected key length is known in advance. If the RSA decryption fails or recovers a key of the wrong length, a random key of the expected length is substituted and decryption continues down an identical path. All failures now report identically and perform the same work. Not addressed by this fix EnvelopedData does not authenticate its content. Tampering with encryptedContent alone yields a CBC padding oracle that recovers plaintext at roughly 256 queries per byte, without recovering any key, on every backend. This is a property of PKCS#7 rather than of this implementation, cannot be fixed in the library, and is now documented. Credit Reported by @​X1AOxiang. Severity CVSS Score: 8.2 / 10 (High) Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N References https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5 https://github.com/pyca/cryptography/pull/15369 https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f https://github.com/advisories/GHSA-g6cj-pr64-35w5 This data is provided by the GitHub Advisory Database (CC-BY 4.0). Release Notes pyca/cryptography (cryptography) v50.0.0 Compare Source v49.0.0 Compare Source Configuration 📅 Schedule: (UTC) 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 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 cryptography (changelog) 48.0.1 → 50.0.0 cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher or...

X Description: This PR contains the following updates: Package Change Age Confidence cryptography (changelog) 48.0.1 → 50.0.0 cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher or...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/5324

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3f6231e7-6751-9faf-3b16-3b739ac215b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB636:146A3D:E6B9F3:12E2731:6B02E9E5
html-safe-nonced5b8f1c1e0677fa3560ed7383bd62b4c89cf02f83bf233843325ee2a586349bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjM2OjE0NkEzRDpFNkI5RjM6MTJFMjczMTo2QjAyRTlFNSIsInZpc2l0b3JfaWQiOiIxMjI0NjgyODc2NTQ1NzIyODUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb5658955c6c12e0b0d3408787958179059ae04ca6f82d9bf02c086595200bb04
hovercard-subject-tagpull_request:4205877083
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
twitter:imagehttps://avatars.githubusercontent.com/in/2740?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/2740?s=400&v=4
og:image:altThis PR contains the following updates: Package Change Age Confidence cryptography (changelog) 48.0.1 → 50.0.0 cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher or...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F5324%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F5324%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests20 (20)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
harshil21https://github.com/harshil21
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
renovate/pypi-cryptography-vulnerabilityhttps://github.com/python-telegram-bot/python-telegram-bot/tree/renovate/pypi-cryptography-vulnerability
Conversation 1 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324
Commits 3 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/commits
Checks 8 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Update dependency cryptography to v50 [SECURITY] https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files#top
Show all changes 3 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
93b6b3b Update dependency cryptography to v50 [SECURITY] renovate[bot] Aug 4, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/commits/93b6b3bf2e96cc3eebb40640571512dc6349ed01
bd68def Add chango fragment for PR #5324 renovate[bot] Aug 4, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/commits/bd68def5c500189642b7f67254e7ce3cb6bcaef9
0fc3361 Actually upgrade cryptography to v50 harshil21 Aug 15, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/commits/0fc3361dfbcb858a1cd43e5ea8f694673ea8f3eb
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
5324.H7nkdXLb3RYjnKUorXnsm6.toml https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files#diff-dacf0e03ef59395ec1c363f82032530faabf28902293669409687f6ad2614e07
uv.lock https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
changes/unreleased/5324.H7nkdXLb3RYjnKUorXnsm6.tomlhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files#diff-dacf0e03ef59395ec1c363f82032530faabf28902293669409687f6ad2614e07
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/0fc3361dfbcb858a1cd43e5ea8f694673ea8f3eb/changes/unreleased/5324.H7nkdXLb3RYjnKUorXnsm6.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/5324/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5324/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.