Piccolo is an object-relational mapping and query builder which supports asyncio. 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. Version 1.1.1 fixes this issue.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2023-11-10T18:11:07.863Z

Updated: 2024-09-03T17:28:09.878Z

Reserved: 2023-10-30T19:57:51.677Z

Link: CVE-2023-47128

cve-icon Vulnrichment

Updated: 2024-08-02T21:01:22.689Z

cve-icon NVD

Status : Modified

Published: 2023-11-10T18:15:09.870

Modified: 2024-11-21T08:29:50.230

Link: CVE-2023-47128

cve-icon Redhat

No data.