<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Argument parsing buffer overflow in ipset_parse_argv"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1492">1492</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Argument parsing buffer overflow in ipset_parse_argv
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ipset
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>default
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marshallwhittaker@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=622" name="attach_622" title="Core dump file from ipset">attachment 622</a> <a href="attachment.cgi?id=622&action=edit" title="Core dump file from ipset">[details]</a></span>
Core dump file from ipset

Trying to pass arguments via xargs to ipset I ran across a buffer overflow in
the argument parsing ipset_parse_argv function.  I've reproduced this error on
Manjaro and Ubuntu Linux systems.  The error can be triggered by trying to add
more than 32 arguments (more than MAX_ARGS define) to the ipset command.

Example: ipset add a $(perl -e 'print "A "x64;')

Marshall / oxagast</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>