Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ujson dependency #38

Merged
merged 1 commit into from Mar 10, 2022
Merged

Remove ujson dependency #38

merged 1 commit into from Mar 10, 2022

Conversation

waynesun09
Copy link
Collaborator

  • Update default_response_class to ORJSONResponse.
  • Remove the ujson dependency as it's deprecated.
  • Remove install [all] with fastapi
  • Explicitly add dependency packages for Pydantic and Starlette
  • Update FastAPI to latest version 0.75.0
  • Lock stomp.py to 7.0.0 as 8.0.0 broke the app

This fixes ujson CVE-2021-45958.

This is related to:
tiangolo/fastapi#820

Signed-off-by: Wayne Sun gsun@redhat.com

- Update default_response_class to ORJSONResponse.
- Remove the ujson dependency as it's deprecated.
- Remove install [all] with fastapi
- Explicitly add dependency packages for Pydantic and Starlette
- Update FastAPI to latest version 0.75.0
- Lock stomp.py to 7.0.0 as 8.0.0 broke the app

This fixes ujson CVE-2021-45958.

This is related to:
tiangolo/fastapi#820

Signed-off-by: Wayne Sun <gsun@redhat.com>
@waynesun09 waynesun09 merged commit f4857e5 into RedHatQE:main Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant