GHSA-5vx5-9q73-wgp4

Suggest an improvement
Source
https://github.com/advisories/GHSA-5vx5-9q73-wgp4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-5vx5-9q73-wgp4/GHSA-5vx5-9q73-wgp4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-5vx5-9q73-wgp4
Aliases
Published
2017-10-24T18:33:35Z
Modified
2023-11-01T04:48:18.889756Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Safemode Gem Has Incomplete List of Disallowed Inputs
Details

rubygem-safemode, as used in Foreman, versions 1.3.1 and earlier are 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.

Database specific
{
    "nvd_published_at": "2017-07-21T22:29:00Z",
    "cwe_ids": [
        "CWE-184"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:17:24Z"
}
References

Affected packages

RubyGems / safemode

Package

Name
safemode
Purl
pkg:gem/safemode

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.2

Affected versions

0.*

0.0.2

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.3.1