Repository navigation
Expand file tree
/
Copy pathrequirements.txt
More file actions
executable file
·38 lines (36 loc) · 2.27 KB
/
Copy pathrequirements.txt
File metadata and controls
executable file
·38 lines (36 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Pinned to the versions this app is known to run on. A previous
# `pip install -U -r requirements.txt` against an unpinned file pulled
# supabase 2.18->2.31, fastapi 0.116->0.141, pydantic 2.11->2.13,
# reportlab 4->5, etc. and broke startup
# (supabase-py 2.19+ reworked ClientOptions/auth wiring -> app/api.py
# get_supabase_client). Bump deliberately, one at a time, with testing.
# Do NOT run `pip install -U` against this file.
fastapi==0.116.1
uvicorn==0.35.0
pydantic==2.11.7
supabase==2.18.1 # hard-pins postgrest 1.1.1 / realtime 2.7.0 / supabase-auth 2.12.3 / storage3 0.12.1 / supabase-functions 0.10.1
gotrue==2.12.4 # app imports gotrue.errors.AuthApiError directly
python-dotenv==1.2.3 # 1.2.2: set_key/unset_key symlink-follow arbitrary file overwrite (app only uses load_dotenv)
google-api-python-client==2.179.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.2
cryptography==50.0.1 # X.509 path-validation DoS, SECT EC small-subgroup check, PKCS7 decrypt Bleichenbacher oracle (all fixed by <=50.0.0)
reportlab==4.4.3
Pillow==12.3.0 # 12.2.0: FITS GZIP decompression-bomb fix; 12.3.0: JPEG2000 tiled-decode buffer growth DoS (GHSA-vjc4-5qp5-m44j) + others
python-multipart==0.0.32
cairosvg==2.9.1 # 2.9.0: recursive <use> amplification DoS cap; 2.9.1: long-path exponential render fix
pypdf==6.18.0 # 6.14.1/6.14.2: unterminated inline-image infinite-loop fixes (content-stream parsing / ASCII85 / ASCIIHex)
pytest
PyJWT==2.13.0 # 2.12.0: reject unknown crit header; 2.13.0: block JWK-as-HMAC-secret algorithm confusion
apscheduler==3.11.3 # keep on 3.x; 4.0 is an incompatible rewrite
# --- Security-patched transitive deps (independent of the pins above) ---
# requests <2.32.4: .netrc credential leak on cross-host redirect (GHSA-9hjg-9r4m-mvj7),
# Proxy-Authorization leak (CVE-2023-32681), verify=False session persistence (CVE-2024-35195)
requests>=2.32.4
# urllib3 1.26.x: strip Proxy-Authorization on redirect (CVE-2024-37891),
# don't forward body/Authorization across hosts on redirect (CVE-2023-45803 + follow-ups)
urllib3>=1.26.20,<2
# certifi <2024.07.04: bundled again-distrusted CA roots (CVE-2024-39689, CVE-2023-37920)
certifi>=2024.7.4
# idna <3.7: quadratic-time DoS in idna.encode (CVE-2024-3651)
idna>=3.7