CVE-2023-47128

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:piccolo-orm:piccolo:1.1.0:*:*:*:*:*:*:*

History

20 Nov 2023, 19:35

Type Values Removed Values Added
References () https://github.com/piccolo-orm/piccolo/commit/82679eb8cd1449cf31d87c9914a072e70168b6eb - () https://github.com/piccolo-orm/piccolo/commit/82679eb8cd1449cf31d87c9914a072e70168b6eb - Patch
References () https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6 - () https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6 - Exploit, Vendor Advisory
CPE cpe:2.3:a:piccolo-orm:piccolo:1.1.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
First Time Piccolo-orm
Piccolo-orm piccolo

10 Nov 2023, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-10 18:15

Updated : 2023-12-10 15:26


NVD link : CVE-2023-47128

Mitre link : CVE-2023-47128

CVE.ORG link : CVE-2023-47128


JSON object : View

Products Affected

piccolo-orm

  • piccolo
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')