GHSA-887w-45rq-vxgf
Vulnerability from github
Published
2019-04-16 15:50
Modified
2023-09-01 09:50
Severity
Summary
SQLAlchemy vulnerable to SQL Injection via order_by parameter
Details

SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.

Show details on source website


{
  "affected": [
    {
      "ecosystem_specific": {
        "affected_functions": [
          "sqlalchemy.dialects.postgresql.base.PGDDLCompiler.visit_create_index",
          "sqlalchemy.dialects.postgresql.base.PGDDLCompiler.visit_exclude_constraint",
          "sqlalchemy.orm.session.Session.execute",
          "sqlalchemy.sql.compiler.SQLCompiler.visit_textual_label_reference",
          "sqlalchemy.sql.compiler.SQLCompiler.visit_function",
          "sqlalchemy.sql.compiler.DDLCompiler.define_constraint_cascades",
          "sqlalchemy.sql.compiler.DDLCompiler.define_constraint_deferrability",
          "sqlalchemy.sql.compiler.IdentifierPreparer.validate_sql_phrase",
          "sqlalchemy.sql.elements._document_text_coercion",
          "sqlalchemy.sql.elements._expression_literal_as_text",
          "sqlalchemy.sql.elements._literal_as",
          "sqlalchemy.sql.elements._interpret_as_column_or_from",
          "sqlalchemy.sql.selectable._interpret_as_from",
          "sqlalchemy.sql.selectable.HasSuffixes._setup_suffixes"
        ]
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "SQLAlchemy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-7164"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-89"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:24:54Z",
    "nvd_published_at": "2019-02-20T00:29:00Z",
    "severity": "CRITICAL"
  },
  "details": "SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.",
  "id": "GHSA-887w-45rq-vxgf",
  "modified": "2023-09-01T09:50:01Z",
  "published": "2019-04-16T15:50:41Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7164"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sqlalchemy/sqlalchemy/issues/4481"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2019:0981"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2019:0984"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-887w-45rq-vxgf"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sqlalchemy/sqlalchemy"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpujan2021.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SQLAlchemy vulnerable to SQL Injection via order_by parameter"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...