GHSA-76x8-gg39-5jjg

Suggest an improvement
Source
https://github.com/advisories/GHSA-76x8-gg39-5jjg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-76x8-gg39-5jjg/GHSA-76x8-gg39-5jjg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-76x8-gg39-5jjg
Aliases
Published
2022-05-01T23:28:42Z
Modified
2024-09-13T18:23:05.485345Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
CherryPy Malicious cookies allow access to files outside the session directory
Details

Directory traversal vulnerability in the getfile_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.

Database specific
{
    "nvd_published_at": "2008-01-12T02:46:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-01T19:52:43Z"
}
References

Affected packages

PyPI / cherrypy

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1

Affected versions

2.*

2.0.0-final
2.0.0b
2.1.0-beta
2.1.0

0.*

0.10

PyPI / cherrypy

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0
Fixed
3.0.2

Affected versions

3.*

3.0.0
3.0.1