SQL Injection Affecting sqlalchemy package, versions [,1.2.18)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.24% (65th percentile)

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-SQLALCHEMY-173678
  • published 11 Feb 2019
  • disclosed 1 Feb 2019
  • credit Unknown

How to fix?

Upgrade SQLAlchemy to version 1.2.18 or higher.

Overview

SQLAlchemy is a python SQL Toolkit and Object Relational Mapper.

Affected versions of this package are vulnerable to SQL Injection when the group_by and order_by parameter can be controlled.

NOTE: This vulnerability has also been identified as: CVE-2019-7164

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.8 high