Bug 1473243 - (CVE-2017-7540) CVE-2017-7540 rubygem-safemode: Bypassing the whitelist of safe commands via block_pass
CVE-2017-7540 rubygem-safemode: Bypassing the whitelist of safe commands via ...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1473795
Blocks: 1473244
  Show dependency treegraph
Reported: 2017-07-20 05:56 EDT by Adam Mariš
Modified: 2018-01-30 19:22 EST (History)
23 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-07-20 05:56:14 EDT
A vulnerability was found in rubygem-safemode, used e.g. in Foreman. It has been found that user rendering a template (e.g. with edit_templates permission) can bypass safe mode limitations through a special ruby syntax. This can lead e.g. to deletion of objects for which the user does not have delete permissions or possibly to privilege escalation.

Upstream bug:


Foreman bug:

Comment 1 Adam Mariš 2017-07-20 05:56:34 EDT

Name: Tomer Brisker (Red Hat)
Comment 2 Siddharth Sharma 2017-07-20 06:22:13 EDT

ruby193-rubygem-safemode shipped in Red Hat Ceph Storage 1.3 is in tech preview and would be used only when installing ceph with foreman installer. Installing ceph via ceph-deploy does not use ruby193-rubygem-safemode.

Note You need to log in before you can comment on or make changes to this bug.