Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Who this helps
Teams installing
proofline-sdkinto existing Python environments.requirements-dev.txtalready pinsanyio==4.15.1for CI, so lockfile scans pass, butpyproject.tomlstill declaredanyio>=4,<5. Even withhttpx2==2.16.2(anyio>=4.10),pipanduvwill keep an already-installedanyiobetween4.10.0and4.14.1.anyiobefore4.14.2is vulnerable to CVE-2026-63374 (CVSS 4.0: 9.3), whereconnect_tcp()andTLSStream.wrap()can validate internationalized hostnames using stdlib IDNA 2003 instead of IDNA 2008, allowing TLS certificate spoofing on divergent non-ASCII domains. Because_transport.base_urlaccepts non-ASCII HTTPS origins andAsyncProoflineClientuseshttpcore2's AnyIO backend, raising the floor makes sure installs get a patchedanyio. The same4.14.2floor also excludes CVE-2026-63349 and CVE-2026-64847.Decisions
anyio>=4.14.2,<5instead of>=4.15.1so downstream environments only have to upgrade past the vulnerable range rather than to the latest minor release.requirements-dev.txt, runtime code, andproofline/_generated/untouched, since the dev lockfile already uses4.15.1and the fix belongs in package metadata.tests/test_http.pythat parses[project].dependencieswithpackaging.requirements.Requirementso the4.14.2floor doesn't regress.Verification
4.0.0,4.10.0,4.14.0, and4.14.1are rejected by the updated specifier while4.14.2and4.15.1are accepted.python3 scripts/check.pyon macOS (CPython 3.12.13): generation check, contracts,ruff check,ruff format --check,mypy,pytest(220 passed, 8 subtests passed), wheel and sdist builds, and isolated install smoke tests for both distributions.