QID 983180
QID 983180: Python (pip) Security Update for django-basic-auth-ip-whitelist (GHSA-m38j-pmg3-v5x5)
Security update has been released for django-basic-auth-ip-whitelist to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
Potential timing attack exists on websites where the basic authentication is used or configured, i.e. `BASIC_AUTH_LOGIN` and `BASIC_AUTH_PASSWORD` is set. Currently the string comparison between configured credentials and the ones provided by users is performed through a character-by-character string comparison. This enables a possibility that attacker may time the time it takes the server to validate different usernames and password, and use this knowledge to work out the valid credentials. This attack is understood not to be realistic over the Internet. However, it may be achieved from within local networks where the website is hosted, e.g. from inside a data centre where a website's server is located.
Sites protected by IP address whitelisting only are unaffected by this vulnerability.
Stop using basic authentication and use the IP whitelisting component only. It can be achieved by not setting `BASIC_AUTH_LOGIN` and `BASIC_AUTH_PASSWORD` in Django project settings.
- GHSA-m38j-pmg3-v5x5 -
github.com/advisories/GHSA-m38j-pmg3-v5x5
CVEs related to QID 983180
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-m38j-pmg3-v5x5 | django-basic-auth-ip-whitelist |
|