CVE-2008-0252
HIGH 7.5CVSS 2.0CherryPy 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cherrypy | cherrypycpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:* |
<= 2.1.0 | |
| NVD | cherrypy | cherrypycpe: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
- http://secunia.com/advisories/28353 · ADVISORY
- http://secunia.com/advisories/28354 · Vendor Advisory, ADVISORY
- http://secunia.com/advisories/28611 · ADVISORY
- http://secunia.com/advisories/28620 · ADVISORY
- http://secunia.com/advisories/28769 · ADVISORY
- http://security.gentoo.org/glsa/glsa-200801-11.xml · WEB, ADVISORY
- http://www.cherrypy.org/changeset/1774 · Exploit, Patch, WEB
- http://www.cherrypy.org/changeset/1775 · Exploit, Patch, WEB
- http://www.cherrypy.org/changeset/1776 · Exploit, WEB
- http://www.cherrypy.org/ticket/744 · Exploit, WEB
- http://www.debian.org/security/2008/dsa-1481 · WEB, ADVISORY
- http://www.securityfocus.com/archive/1/487001/100/0/threaded · WEB
- http://www.securityfocus.com/bid/27181 · WEB
- http://www.vupen.com/english/advisories/2008/0039 · ADVISORY
- https://bugs.gentoo.org/show_bug.cgi?id=204829 · WEB
- https://issues.rpath.com/browse/RPL-2127 · WEB
- https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html · WEB
- https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2008-0252 · ADVISORY
- https://github.com/cherrypy/cherrypy/commit/37b856eba6f207231c691dae2e5b24e072f86664 · WEB
- https://github.com/cherrypy/cherrypy · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cherrypy/PYSEC-2008-3.yaml · WEB
- https://web.archive.org/web/20080129011723/http://secunia.com/advisories/28354 · WEB
- https://web.archive.org/web/20080312130713/http://secunia.com/advisories/28353 · WEB
- https://web.archive.org/web/20080328003510/http://secunia.com/advisories/28611 · WEB
- https://web.archive.org/web/20100122080212/http://www.vupen.com/english/advisories/2008/0039 · WEB
- https://web.archive.org/web/20110513223620/http://secunia.com/advisories/28769 · WEB
- https://web.archive.org/web/20111224161644/http://secunia.com/advisories/28620 · WEB
- https://web.archive.org/web/20151108024505/http://www.securityfocus.com/bid/27181 · WEB
- https://github.com/advisories/GHSA-76x8-gg39-5jjg · ADVISORY
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)