Michael Scherer discovered that the rubyparser ruby gem did not create temporary files in a safe manner. In /usr/share/gems/gems/rubyparser-2.0.4/lib/gauntletrubyparser.rb's diffpp function it creates files as /tmp/a.[pid] and /tmp/b.[pid] which can be predicted and used for either a denial of service (file cannot be overwritten), or to change the contents of a files that are writable.
The initial report is in bug #892221.