Skip to content

[security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem #87154

Closed
@hroncok

Description

@hroncok
mannequin
BPO 42988
Nosy @malemburg, @gpshead, @vstinner, @ned-deily, @ambv, @serhiy-storchaka, @JulienPalard, @hroncok, @frenzymadness, @miss-islington, @Fidget-Spinner
PRs
  • bpo-42988: Improve pydoc web server security #24285
  • bpo-42988: Fix security issue in the pydoc server #24337
  • bpo-42988: Remove the pydoc getfile feature #25015
  • [3.9] bpo-42988: Remove the pydoc getfile feature (GH-25015) #25064
  • [3.8] bpo-42988: Remove the pydoc getfile feature (GH-25015) #25065
  • [3.7] bpo-42988: Remove the pydoc getfile feature (GH-25015) #25066
  • [3.6] bpo-42988: Remove the pydoc getfile feature (GH-25015) #25067
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-03-29.19:39:54.149>
    created_at = <Date 2021-01-21.12:18:37.837>
    labels = ['type-security', '3.8', '3.9', '3.10', '3.7', 'library']
    title = '[security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem'
    updated_at = <Date 2021-03-29.19:39:54.148>
    user = 'https://github.com/hroncok'

    bugs.python.org fields:

    activity = <Date 2021-03-29.19:39:54.148>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-29.19:39:54.149>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2021-01-21.12:18:37.837>
    creator = 'hroncok'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42988
    keywords = ['patch']
    message_count = 30.0
    messages = ['385412', '385413', '385415', '385418', '385420', '385421', '385422', '385435', '385460', '385485', '385488', '385489', '385492', '385503', '385710', '385721', '385866', '386221', '386222', '388399', '388451', '388452', '388455', '388645', '389452', '389695', '389699', '389700', '389710', '389711']
    nosy_count = 11.0
    nosy_names = ['lemburg', 'gregory.p.smith', 'vstinner', 'ned.deily', 'lukasz.langa', 'serhiy.storchaka', 'mdk', 'hroncok', 'frenzy', 'miss-islington', 'kj']
    pr_nums = ['24285', '24337', '25015', '25064', '25065', '25066', '25067']
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue42988'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixesstdlibPython modules in the Lib dirtype-securityA security issue

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions