GitHub Advisoryadvisory · PyPI

GHSA-hh7j-pg39-q563 toui allows user-specific variables to be shared between users

CRITICAL Published 2023-05-24 Modified 2023-05-30 Official page ↗
Aliases
CVE-2023-33175
Ecosystem
PyPI
Packages
toui
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-913, CWE-914
Reviewed
2023-05-24

Affected packages

• PyPI toui: >= 2.0.1, < 2.4.1 → fixed in 2.4.1

Description

Impact Websites that use `Website.user_vars` property in versions. Patches It affects versions v2.0.1 to v2.4.0. Please upgrade to v2.4.1 Workarounds Do not use `Website.user_vars` in websites when using versions v2.0.1 to v2.4.0. Also, do not use `Website.signin_user()` in version v2.4.0 only. Explanation ToUI is using Flask-Caching (SimpleCache) to store user variables. My misunderstanding was that these caches are stored in the client's browser, but it seems that these are stored in the server side.

Related

Alias · CVE (1)

  • CVE-2023-33175 ToUI is a Python package for creating user interfaces (websites and desktop apps) from HTML. vulnerability

Weakness · CWE (2)

  • CWE-913 Improper Control of Dynamically-Managed Code Resources weakness
  • CWE-914 Improper Control of Dynamically-Identified Variables weakness

References