Security mailing lists by PureSourceCode

CVE-2008-0252

HIGH 7.5CVSS 2.0

CherryPy Malicious cookies allow access to files outside the session directory

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.

Published
12 Jan 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-76x8-gg39-5jjgPYSEC-2008-3
Sources
NVDJSONOSV GHSA-76x8-gg39-5jjgJSONOSV PYSEC-2008-3JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cherrypy cherrypy
cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*
<= 2.1.0
NVD cherrypy cherrypy
cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*
<= 3.0.2
OSV PyPI cherrypy < 2.1.1 2.1.1
OSV PyPI cherrypy >= 3.0, < 3.0.2 3.0.2
OSV PyPI cherrypy < 2.1.1; >= 3.0, < 3.0.2 2.1.1, 3.0.2

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 12 Jan 2008)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2008)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.