CVE-2017-7540
rubygem-safemode: Bypassing the whitelist of safe commands via block_pass
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, GHSA, Ruby Advisory DB. Daha düşük diyenler: Red Hat (yüksek).
Açıklama
rubygem-safemode, as used in Foreman, versions 1.3.2 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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | safemode | 1.3.2 |
| rubygems::Ruby Advisory Database | safemode | >= 1.3.3 |
Referanslar
- https://access.redhat.com/security/cve/CVE-2017-7540
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/safemode/CVE-2017-7540.yml
- https://github.com/svenfuchs/safemode
- https://github.com/svenfuchs/safemode/pull/23
- https://nvd.nist.gov/vuln/detail/CVE-2017-7540
- https://www.cve.org/CVERecord?id=CVE-2017-7540