Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39219

Buffer overflow in PROXY protocol header v1 parsing

    XMLWordPrintable

Details

    Description

      There is a buffer overflow issue in the PROXY protocol v1 header parsing (parse_proxy_protocol_header()).

      The loop that reads the v1 header could fill the entire buffer and then add a null terminator past the boundary, which leads to an off-by-one overflow.

      Attachments

        Activity

          People

            gkodinov Georgi Kodinov
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.