]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
⬆️ Update ujson ranges for CVE-2021-45958 (#4804)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 17 Apr 2022 16:17:59 +0000 (18:17 +0200)
committerGitHub <noreply@github.com>
Sun, 17 Apr 2022 16:17:59 +0000 (16:17 +0000)
pyproject.toml

index 9e928beffd064662cf10b8d4393ea7787c4cada0..7856085fb732f80e2093f24b8675528733f715c8 100644 (file)
@@ -59,7 +59,7 @@ test = [
     "peewee >=3.13.3,<4.0.0",
     "databases[sqlite] >=0.3.2,<0.6.0",
     "orjson >=3.2.1,<4.0.0",
-    "ujson >=4.0.1,<6.0.0",
+    "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0",
     "python-multipart >=0.0.5,<0.0.6",
     "flask >=1.1.2,<3.0.0",
     "anyio[trio] >=3.2.1,<4.0.0",
@@ -92,7 +92,7 @@ all = [
     "python-multipart >=0.0.5,<0.0.6",
     "itsdangerous >=1.1.0,<3.0.0",
     "pyyaml >=5.3.1,<7.0.0",
-    "ujson >=4.0.1,<6.0.0",
+    "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0",
     "orjson >=3.2.1,<4.0.0",
     "email_validator >=1.1.1,<2.0.0",
     "uvicorn[standard] >=0.12.0,<0.18.0",