UBUNTU-CVE-2022-29238

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2022-29238
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-29238.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-29238
Related
Published
2022-06-14T18:15:00Z
Modified
2022-06-14T18:15:00Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

Jupyter Notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with ContentsManager.allow_hidden = False only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g. ~/.ssh while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 contains a patch for this issue. There are currently no known workarounds.

References

Affected packages

Ubuntu:20.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.0.3-2ubuntu0.1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.3-2ubuntu0.1

Affected versions

5.*

5.7.8-1

6.*

6.0.0-1
6.0.0-2
6.0.2-1
6.0.3-1
6.0.3-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "python3-notebook": "6.0.3-2ubuntu0.1",
            "python-notebook-doc": "6.0.3-2ubuntu0.1",
            "jupyter-notebook": "6.0.3-2ubuntu0.1"
        }
    ]
}

Ubuntu:22.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.8-1ubuntu0.1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.4.8-1ubuntu0.1

Affected versions

6.*

6.2.0-1
6.4.5-2
6.4.5-3
6.4.5-4
6.4.8-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "python3-notebook": "6.4.8-1ubuntu0.1",
            "python-notebook-doc": "6.4.8-1ubuntu0.1",
            "jupyter-notebook": "6.4.8-1ubuntu0.1"
        }
    ]
}