GHSA-76x8-gg39-5jjgHighCVSS 7.5

CherryPy Malicious cookies allow access to files outside the session directory

Published
May 1, 2022
Last Modified
September 13, 2024

🔗 CVE IDs covered (1)

📋 Description

Directory traversal vulnerability in the _get_file_path function in (1) lib/sessions.py in CherryPy 3.0.x up to 3.0.2, (2) filter/sessionfilter.py in CherryPy 2.1, and (3) filter/sessionfilter.py in CherryPy 2.x allows remote attackers to create or delete arbitrary files, and possibly read and write portions of arbitrary files, via a crafted session id in a cookie.

🎯 Affected products2

  • pip/cherrypy:>= 0, < 2.1.1
  • pip/cherrypy:>= 3.0, < 3.0.2

🔗 References (21)