Skip to content

Update dependency anyio to v4.16.0 [SECURITY] - autoclosed - #42

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pypi-anyio-vulnerability
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pypi-anyio-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
anyio 4.12.1 → 4.16.0 age confidence

AnyIO process-pool workers can block indefinitely on undrained stderr

CVE-2026-64847 / GHSA-5p39-cfhj-2xmp

More information

Details

Impact

AnyIO starts process-pool workers with stderr connected to a pipe but never drains that pipe. The worker redirects stdin and stdout to /dev/null to protect its protocol, but does not redirect stderr even though the documentation says all three standard streams are redirected. Worker code that writes enough attacker-influenced data to stderr can fill the pipe, block before returning the stdout protocol response, and wedge the awaiting process-pool call.

Anyone who runs untrusted or faulty code that writes too much to stderr is at risk.

Patches

This vulnerability will be patched in v4.14.2.

Workarounds

Closing sys.stderr in the target function should at least prevent the deadlock.

Severity

  • CVSS Score: 6.8 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing

CVE-2026-63374 / GHSA-82r6-8w77-94w6

More information

Details

Impact

Services using internationalized (non-ASCII) domain names are potentially vulnerable to TLS connections made from AnyIO's connect_tcp() or directly via TLSStream.wrap() where the connection has (through other means) been hijacked and redirected to a malicious server. The attacker would obtain a legitimate certificate using the IDNA 2003 encoded version of the domain name and offer it to the connecting client, making the certificate validate properly on the client's end.

Patches

The vulnerability will be patched in v4.14.2.

Workarounds

Encode host names via the idna package prior to connecting.

Severity

  • CVSS Score: 9.3 / 10 (Critical)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


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.

@renovate renovate Bot added the security label Nov 18, 2026
@renovate renovate Bot changed the title Update dependency anyio to v4.16.0 [SECURITY] Update dependency anyio to v4.16.0 [SECURITY] - autoclosed Nov 19, 2026
@renovate renovate Bot closed this Nov 19, 2026
@renovate
renovate Bot deleted the renovate/pypi-anyio-vulnerability branch November 19, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants