Advisory

PYSEC-2023-173

Also known as: CVE-2023-41885, GHSA-h7cm-mrvq-wcfr

Summary

The record has no summary.

Details

Piccolo is an ORM and query builder which supports asyncio. In versions 0.120.0 and prior, the implementation of BaseUser.login leaks enough information to a malicious user such that they would be able to successfully generate a list of valid users on the platform. As Piccolo on its own does not also enforce strong passwords, these lists of valid accounts are likely to be used in a password spray attack with the outcome being attempted takeover of user accounts on the platform. The impact of this vulnerability is minor as it requires chaining with other attack vectors in order to gain more then simply a list of valid users on the underlying platform. The likelihood of this vulnerability is possible as it requires minimal skills to pull off, especially given the underlying login functionality for Piccolo based sites is open source. This issue has been patched in version 0.121.0.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2023-09-12 21:15 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

piccolo

PyPI · All systems

Affected

  • introduced 0, fixed 0.121.0 (ecosystem)

Fixed versions

0.121.0

Fix

  • Fixed version 0.121.0
    pip install --upgrade piccolo==0.121.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences