python / python/cpython

Make SSL suppress_ragged_eofs default more secure

Open
#72,002 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.7 (EOL) stdlib topic-SSL type-security
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 27815
Nosy @vstinner, @tiran, @alex, @njsmith, @jab, @vadmium, @csabella
PRs
  • python/cpython#5266
  • Files
  • truncating_proxy.py
  • ragged-eofs.patch
  • ragged-eofs.v2.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 = None
    created_at = <Date 2016-08-20.13:19:11.007>
    labels = ['type-security', 'expert-SSL', '3.7', 'library']
    title = 'Make SSL suppress_ragged_eofs default more secure'
    updated_at = <Date 2021-04-06.04:26:08.228>
    user = 'https://github.com/vadmium'
    

    bugs.python.org fields:

    activity = <Date 2021-04-06.04:26:08.228>
    actor = 'jab'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'SSL']
    creation = <Date 2016-08-20.13:19:11.007>
    creator = 'martin.panter'
    dependencies = []
    files = ['44169', '44784', '45106']
    hgrepos = []
    issue_num = 27815
    keywords = ['patch']
    message_count = 17.0
    messages = ['273208', '277212', '278737', '301711', '301751', '301752', '301996', '310389', '310390', '310403', '310407', '310410', '310413', '310415', '310418', '310419', '310420']
    nosy_count = 7.0
    nosy_names = ['vstinner', 'christian.heimes', 'alex', 'njs', 'jab', 'martin.panter', 'cheryl.sabella']
    pr_nums = ['5266']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue27815'
    versions = ['Python 3.7']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by reviewing PR #5266 and the referenced ragged-eofs.patch and ragged-eofs.v2.patch files, then inspect truncating_proxy.py for the reported behavior. Done means the SSL suppress_ragged_eofs default is made more secure and the existing PR’s proposed scope is resolved.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    security
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.