• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ManageIQ / manageiq / 43173 / 6
49%
master: 63%

Build:
Build:
LAST BUILD BRANCH: kasparov
DEFAULT BRANCH: master
Ran 04 Oct 2016 06:55PM UTC
Files 436
Run time 53s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Sep 2016 04:28PM UTC coverage: 59.578%. Remained the same
2.2.5, GEM=pending

push

travis-ci

Fryguy
Merge branch '5.6.z/fix/miq-expression-regexp-vulnerability' into '5.6.z'

Sanitize regex expressions from /s and #{}s

Both REGULAR EXPRESSION MATCHES and REGULAR EXPRESSION DOES NOT MATCH
have a vulnerability whereby a regular expression can be terminated in
the first part of the string that gets eval'd, allowing any arbitrary
Ruby code to be run.

They are also vulnerable to interpolation, wherein any arbitrary Ruby
code can get executed.

Unfortunately it is not possible to run these values through the
existing `MiqExpression.re_escape` method, since it also escapes special
characters which are essential to the user's forming real regular
expressions through the UI.

Because we are currently supporting values with or without the actual
bona fide delimiters present, and also regular expressions with one
option (e.g. `/abc/i`), we have to code several paths to ensure that we
escape only unescaped forward slashes that are not part of the bona fide
regular expression literal syntax.

Addresses CVE-2016-7040

See merge request !1045

12568 of 21095 relevant lines covered (59.58%)

158.01 hits per line

Source Files on job 43173.6 (2.2.5, GEM=pending)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 43173
  • Travis Job 43173.6
  • 92d5b5e8 on github
  • Prev Job for 2.2.5, GEM=pending on darga (#41914.6)
  • Next Job for 2.2.5, GEM=pending on darga (#43583.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc