Skip to content

Commit

Permalink
Security fix - CVE-2022-39227 (#95)
Browse files Browse the repository at this point in the history
* updated security docs, typos

* updated min python-jwt version allowed

---------

Co-authored-by: Joshua (codemation) <[email protected]>
  • Loading branch information
codemation and Joshua (codemation) authored Mar 9, 2023
1 parent dc0b488 commit e8e8aa0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Security is always top of mind especially when it comes to Authenticaiton and Au
As `EasyAuth` is a plugin for FastAPI, the aim is to always support the latest release of FastAPI. Due to obvious time contraints, there can be delays & bugs introduced when using later versions of FastAPI with EasyAuth.

## Security Issues
Issues relating to vulnerabilities are natuarally quite sensitive to discuss in a public issue. When or if such a bug is discovered, please email me @codemation - [email protected] to provide details on the bug, how / where it is observed, and code examples where feasible.
Issues relating to vulnerabilities are naturally quite sensitive to discuss in a public issue. When or if such a bug is discovered, please email me @codemation - [email protected] to provide details on the bug, how / where it is observed, and code examples where feasible.

---
Thanks for your contributions.
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ requests==2.26.0
pydbantic[sqlite]
pre-commit==2.15.0
asgi-lifespan==2.0.0
httpx==0.23.3
httpx==0.23.3
pytest-env==0.8.1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pydbantic>=0.0.36
bcrypt>=3.2.0
python-jwt==3.3.0
python-jwt>=3.3.4
makefun==1.9.5
fastapi>=0.89.1
uvicorn>=0.15.0
PyJWT>=2.0.0
python-multipart>=0.0.5
easyadmin==0.170
fastapi-mail>=0.3.7
gunicorn==20.1.0
gunicorn>=20.1.0
email-validator==1.1.3
easyrpc==0.245
google-api-python-client==2.26.1
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
BASE_REQUIREMENTS = [
"makefun==1.9.5",
"easyschedule==0.107",
"PyJWT==2.0.0",
"python-jwt==3.3.0",
"PyJWT>=2.0.0",
"python-jwt>=3.3.4",
"fastapi>=0.89.0",
"uvicorn",
"python-multipart>=0.0.5",
Expand All @@ -13,7 +13,7 @@
]
SERVER_REQUIREMENTS = [
"pydbantic>=0.0.36",
"cryptography==35.0.0",
"cryptography>=35.0.0",
"bcrypt>=3.2.0",
"example==0.1.0",
"httptools==0.3.0",
Expand Down

0 comments on commit e8e8aa0

Please sign in to comment.