Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sqlalchemy
  4. ›
  5. CVE-2019-7548

CVE-2019-7548: SQLAlchemy is vulnerable to SQL Injection via group_by parameter

April 16, 2019 (updated October 28, 2024)

SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.

References

  • access.redhat.com/errata/RHSA-2019:0981
  • access.redhat.com/errata/RHSA-2019:0984
  • github.com/advisories/GHSA-38fc-9xqv-7f7q
  • github.com/no-security/sqlalchemy_test
  • github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2019-124.yaml
  • github.com/sqlalchemy/sqlalchemy
  • github.com/sqlalchemy/sqlalchemy/issues/4481
  • github.com/sqlalchemy/sqlalchemy/issues/4510
  • lists.debian.org/debian-lts-announce/2019/03/msg00020.html
  • lists.debian.org/debian-lts-announce/2021/11/msg00005.html
  • nvd.nist.gov/vuln/detail/CVE-2019-7548
  • www.oracle.com/security-alerts/cpujan2021.html

Code Behaviors & Features

Detect and mitigate CVE-2019-7548 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.19

Fixed versions

  • 1.2.19

Solution

Upgrade to version 1.2.19 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/sqlalchemy/CVE-2019-7548.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:06 +0000.