Skip to content

Commit 823b63e

Browse files
committed
fix: update idna 3.11 to 3.16 to resolve CVE DoS vulnerability (GHSA-65pc-fj4g-8rjx)
idna < 3.15 is vulnerable to denial of service via specially crafted inputs to idna.encode() that bypass the CVE-2024-3651 fix. Payloads using certain Unicode characters cause excessive processing time in the valid_contexto function before length rejection. This is a transitive runtime dependency used by httpx, anyio, aiohttp, and yarl. Added explicit idna>=3.15 constraint to pyproject.toml and updated the lock file to idna 3.16.
1 parent c26ddb4 commit 823b63e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pipecat/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
]
2222
dependencies = [
2323
"aiofiles>=24.1.0,<25",
24+
"idna>=3.15",
2425
"loguru>=0.7.3,<1",
2526
"msgpack>=1.1.1,<2",
2627
"pipecat-ai>=1.0.0",

pipecat/uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)