SQL Injection Affecting django-pghistory package, versions [,2.6.0)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-DJANGOPGHISTORY-5425047
- published 26 Apr 2024
- disclosed 16 Apr 2023
- credit Unknown
How to fix?
Upgrade django-pghistory
to version 2.6.0 or higher.
Overview
django-pghistory is a history tracking library for Django and Postgres
Affected versions of this package are vulnerable to SQL Injection when processing context data in the _inject_history_context()
function in runtime.py
.
References
CVSS Scores
version 3.1