Skip to content

sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks #87600

Description

@erlend-aasland
BPO 43434
Nosy @berkerpeksag, @zooba, @miss-islington, @erlend-aasland
PRs
  • bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ #25818
  • [3.9] bpo-43434: Move sqlite3.connect audit event to sqlite3.Connection.__init__ (GH-25818) #25822
  • bpo-43434: Clean up after GH-25818 #25823
  • [3.8] bpo-43434: Move sqlite3.connect audit event to sqlite3.Connection.__init__ (GH-25818) #25825
  • [3.8] bpo-43434: Move sqlite3.connect audit event to sqlite3.Connection.__init__ (GH-25818) #25826
  • Files
  • audit.py
  • patch.diff
  • 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-05-02.22:56:58.153>
    created_at = <Date 2021-03-08.12:53:59.903>
    labels = ['type-security', '3.8', 'library', '3.9', '3.10']
    title = "sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks"
    updated_at = <Date 2021-05-02.22:56:58.152>
    user = 'https://github.com/erlend-aasland'

    bugs.python.org fields:

    activity = <Date 2021-05-02.22:56:58.152>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-02.22:56:58.153>
    closer = 'steve.dower'
    components = ['Library (Lib)']
    creation = <Date 2021-03-08.12:53:59.903>
    creator = 'erlendaasland'
    dependencies = []
    files = ['49857', '49858']
    hgrepos = []
    issue_num = 43434
    keywords = ['patch']
    message_count = 13.0
    messages = ['388264', '392393', '392702', '392709', '392724', '392735', '392736', '392737', '392742', '392743', '392745', '392748', '392749']
    nosy_count = 4.0
    nosy_names = ['berker.peksag', 'steve.dower', 'miss-islington', 'erlendaasland']
    pr_nums = ['25818', '25822', '25823', '25825', '25826']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue43434'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard 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