Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2270

Algorithm used to hash classes is weak, collisions happen in production

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.7, 3.7.3, 3.8.2
    • Component/s: None
    • Labels:
      None

      Description

      Take the following example

      <pre>
      [root@ltx1-app11948 msvoboda]# cat mike.cf
      body common control
      {
      bundlesequence =>

      {"test" }

      ;
      }

      bundle agent test
      {
      classes:
      "range_class_prod_ltx1_seas_groupdiscussions_indexer_4_PRODUCTVERSION__0_1_86_" expression => "any";

      reports:
      ipv4_10_132_60::
      "this should not happen";
      }

      </pre>

      [root@ltx1-app11948 msvoboda]# /var/cfengine/bin/cf-agent -I -K -f /export/home/msvoboda/mike.cf
      R: this should not happen

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              msvoboda@linkedin.com mike svoboda
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 5 hours
                  1d 5h
                  Remaining:
                  Not Specified
                  Logged:
                  Time Not Required
                  Not Specified