Skip to content

Directory traversal with http.server and SimpleHTTPServer on windows #70844

@Thomas

Description

@Thomas
mannequin
BPO 26657
Nosy @pfmoore, @larryhastings, @tjguk, @ned-deily, @vadmium, @zware, @zooba, @zhangyangyu
PRs
  • [security][3.4] bpo-26657: Fix Windows directory traversal vulnerability with http.server #782
  • [Security][3.4] bpo-26657: Fix Windows directory traversal vulnerability with http.server #226
  • [3.3][security] bpo-26657: Fix Windows directory traversal vulnerability with http.se… #2860
  • Files
  • fuzz.py: Fuzzing test
  • fix-path-traversal-26657.patch: Patch to fix the problem (includes testcase)
  • fix-path-traversal-26657.patch: Patch to fix the problem (includes testcase, updated)
  • fix-path-traversal-26657.v3.patch
  • 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 2016-04-18.09:41:33.329>
    created_at = <Date 2016-03-28.15:30:15.736>
    labels = ['type-security', 'library', 'OS-windows']
    title = 'Directory traversal with http.server and SimpleHTTPServer on windows'
    updated_at = <Date 2019-05-10.18:08:30.658>
    user = 'https://bugs.python.org/Thomas'

    bugs.python.org fields:

    activity = <Date 2019-05-10.18:08:30.658>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-04-18.09:41:33.329>
    closer = 'martin.panter'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2016-03-28.15:30:15.736>
    creator = 'Thomas'
    dependencies = []
    files = ['42315', '42318', '42319', '42352']
    hgrepos = []
    issue_num = 26657
    keywords = ['patch']
    message_count = 16.0
    messages = ['262572', '262581', '262583', '262585', '262595', '262596', '262786', '262793', '262798', '262806', '263533', '263653', '263661', '298156', '298212', '299203']
    nosy_count = 11.0
    nosy_names = ['paul.moore', 'larry', 'tim.golden', 'ned.deily', 'phihag', 'python-dev', 'martin.panter', 'zach.ware', 'steve.dower', 'xiang.zhang', 'Thomas']
    pr_nums = ['782', '226', '2860']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue26657'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions