Skip to content

email.parser.Parser hang #81642

@Guido

Description

@Guido
mannequin
BPO 37461
Nosy @warsaw, @vstinner, @larryhastings, @ned-deily, @alex, @bitdancer, @postmasters, @maxking, @eamanu, @miss-islington, @tirkarthi, @iritkatriel
PRs
  • [WIP] bpo-37461: Fix email.parser.Parse hang #14551
  • bpo-37461: Fix infinite loop in parsing of specially crafted email headers #14794
  • [3.7] bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) #14816
  • [3.6] bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) #14817
  • [3.8] bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) #14818
  • [3.7] bpo-37461: Fix typo (inifite -> infinite) #15430
  • [3.6] bpo-37461: Fix typo (inifite -> infinite) #15432
  • [3.5] bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) #15446
  • Files
  • reproducer.py
  • reproducer2.py
  • 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 2020-10-19.21:45:01.609>
    created_at = <Date 2019-07-01.03:21:13.231>
    labels = ['type-security', '3.7', '3.8', 'expert-email', '3.9']
    title = 'email.parser.Parser hang'
    updated_at = <Date 2020-10-19.21:45:01.607>
    user = 'https://bugs.python.org/Guido'

    bugs.python.org fields:

    activity = <Date 2020-10-19.21:45:01.607>
    actor = 'barry'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-19.21:45:01.609>
    closer = 'barry'
    components = ['email']
    creation = <Date 2019-07-01.03:21:13.231>
    creator = 'Guido'
    dependencies = []
    files = ['48483', '48484']
    hgrepos = []
    issue_num = 37461
    keywords = ['patch', 'security_issue']
    message_count = 19.0
    messages = ['346953', '347014', '347108', '347263', '347953', '348060', '348064', '348070', '348071', '348072', '348850', '348867', '350344', '350345', '350346', '350348', '351289', '378396', '379027']
    nosy_count = 14.0
    nosy_names = ['barry', 'vstinner', 'larry', 'ned.deily', 'alex', 'r.david.murray', 'Nam.Nguyen', 'maxking', 'Guido', 'eamanu', 'miss-islington', 'xtreak', 'Marcin Niemira', 'iritkatriel']
    pr_nums = ['14551', '14794', '14816', '14817', '14818', '15430', '15432', '15446']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue37461'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions