SQL Injection Affecting django-pghistory package, versions [,2.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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

Introduced: 16 Apr 2023

CVE NOT AVAILABLE CWE-89 Open this link in a new tab

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
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low