PyPi: Fastapi-Login

CVE-2022-4304

Transitive

Safety vulnerability ID: 53895

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 08, 2023 Updated at Dec 14, 2024
Scan your Python projects for vulnerabilities →

Advisory

Fastapi-login 1.9.0 updates its dependency 'cryptography' to v39.0.2 to include security fixes. Note that this is now an optional dependency.

Affected package

fastapi-login

Latest version: 1.10.3

Flask-Login like package for FastAPI

Affected versions

Fixed versions

Vulnerability changelog

- User callback is now run asynchronous without blocking the worker thread [92](https://github.com/MushroomMaula/fastapi_login/pull/97)
- ``custom_exception`` argument has now correct type [97](https://github.com/MushroomMaula/fastapi_login/pull/97)
- Fixed some minor security issues by updating packages
- Now includes ``LoginManager.optional`` which will return `None` instead of raising an exception.
An [example](https://fastapi-login.readthedocs.io/usage/#returning-none-instead-of-raising-an-exception) has been added to the documentation.

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 5.9

CVSS v3 Details

MEDIUM 5.9
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE