PyPi: Piccolo

CVE-2023-47128

Safety vulnerability ID: 63181

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Nov 10, 2023 Updated at Mar 22, 2024
Scan your Python projects for vulnerabilities →

Advisory

Piccolo 1.1.1 includes a fix for CVE-2023-47128: Prior to version 1.1.1, the handling of named transaction 'savepoints' in all database implementations is vulnerable to SQL Injection via f-strings. While the likelihood of an end developer exposing a 'savepoints' 'name' parameter to a user is highly unlikely, it would not be unheard of. If a malicious user was able to abuse this functionality they would have essentially direct access to the database and the ability to modify data to the level of permissions associated with the database user. A non exhaustive list of actions possible based on database permissions is: Read all data stored in the database, including usernames and password hashes; insert arbitrary data into the database, including modifying existing records; and gain a shell on the underlying server.
https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6

Affected package

piccolo

Latest version: 1.5.0

A fast, user friendly ORM and query builder which supports asyncio.

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.1

CVSS v3 Details

CRITICAL 9.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
NONE