Vulnerability

CVE-2023-47128

criticalCVSS 3.1 9.1Published 10 Nov 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Piccolo Orm piccolo

Weakness type

References

  • github.com /piccolo-orm/piccolo/commit/82679eb8cd1449cf31d87c9914a072e…
  • github.com /piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning