Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1460

Puppet hangs trying to replace a FIFO

    XMLWordPrintable

Details

    • Bug Fix
    • Puppet no longer hangs when trying to replace a fifo with a file, directory or symlink

    Description

      Puppet does some stupid things trying to replace a FIFO, including opening it and trying to MD5 the content.

      This allows a DoS for any managed file that can be replaced with a disconnected FIFO, at least.

      To reproduce:

      mkfifo /tmp/boom
      puppet apply <<EOT
      file { "/tmp/boom": ensure => file, content => "Hello, World" }
      EOT
      

      Attachments

        Issue Links

          Activity

            People

              luchian.nemes Luchian Nemes
              redmine.exporter redmine.exporter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support