Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. safemode
  4. ›
  5. CVE-2017-7540

CVE-2017-7540: Safe mode bypassing

July 21, 2017 (updated October 9, 2019)

Safemode is vulnerable to bypassing safe mode limitations via special Ruby syntax. This can lead to deletion of objects for which the user does not have delete-permissions or possibly to privilege escalation.

References

  • github.com/svenfuchs/safemode/pull/23

Code Behaviors & Features

Detect and mitigate CVE-2017-7540 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.4

Fixed versions

  • 1.3.4

Solution

Upgrade to version 1.3.4 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

gem/safemode/CVE-2017-7540.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.