CVE-2022-30123
rubygem-rack: crafted requests can cause shell escape sequences
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Ruby Advisory DB. Niedriger laut Red Hat (hoch), Amazon (hoch), Oracle (hoch), Ubuntu (mittel).
Beschreibung
A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | rack | 2.0.9.1, 2.1.4.1, 2.2.3.1 |
| rubygems::Ruby Advisory Database | rack | ~> 2.0.9, >= 2.0.9.1, ~> 2.1.4, >= 2.1.4.1, >= 2.2.3.1 |
| amazon linux 2 | pcs, pcs-debuginfo, pcs-snmp | 0.9.169-3.amzn2.1.2 |
| debian 10 | ruby-rack | 2.0.6-3+deb10u1 |
| debian 11 | ruby-rack | 2.1.4-3+deb11u1 |
| debian 12 | ruby-rack | 2.2.4-1 |
| debian 13 | ruby-rack | 2.2.4-1 |
| debian 14 | ruby-rack | 2.2.4-1 |
| echo | ruby-rack | 2.2.4-1 |
| Oracle Linux 7 | pcs, pcs-snmp | 0.9.169-3.0.1.el7_9.3 |
| rapidfort ubuntu 20.04 | ruby-rack | 0:2.1.4-5ubuntu1.1 |
| rapidfort ubuntu 22.04 | ruby-rack | 0:2.1.4-5ubuntu1.1 |
Alle 22 Einträge aus 19 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | rack | 2.0.9.1, 2.1.4.1, 2.2.3.1 |
| rubygems::Ruby Advisory Database | rack | ~> 2.0.9, >= 2.0.9.1, ~> 2.1.4, >= 2.1.4.1, >= 2.2.3.1 |
| amazon linux 2 | pcs | 0.9.169-3.amzn2.1.2 |
| amazon linux 2 | pcs-debuginfo | 0.9.169-3.amzn2.1.2 |
| amazon linux 2 | pcs-snmp | 0.9.169-3.amzn2.1.2 |
| debian 10 | ruby-rack | 2.0.6-3+deb10u1 |
| debian 11 | ruby-rack | 2.1.4-3+deb11u1 |
| debian 12 | ruby-rack | 2.2.4-1 |
| debian 13 | ruby-rack | 2.2.4-1 |
| debian 14 | ruby-rack | 2.2.4-1 |
| echo | ruby-rack | 2.2.4-1 |
| Oracle Linux 7 | pcs | 0.9.169-3.0.1.el7_9.3 |
| Oracle Linux 7 | pcs-snmp | 0.9.169-3.0.1.el7_9.3 |
| rapidfort ubuntu 20.04 | ruby-rack | 0:2.1.4-5ubuntu1.1 |
| rapidfort ubuntu 22.04 | ruby-rack | 0:2.1.4-5ubuntu1.1 |
| rapidfort ubuntu 24.04 | ruby-rack | 0:2.1.4-5ubuntu1.1 |
| Red Hat | rubygem-rack | kein Fix angegeben |
| ubuntu 14.04-ESM | ruby-rack | 1.5.2-3+deb8u3ubuntu1~esm4 |
| ubuntu 16.04-ESM | ruby-rack | 1.6.4-3ubuntu0.2+esm2 |
| ubuntu 18.04-ESM | ruby-rack | 1.6.4-4ubuntu0.2+esm2 |
| ubuntu 20.04-ESM | ruby-rack | 2.0.7-2ubuntu0.1+esm2 |
| ubuntu 22.04 | ruby-rack | 2.1.4-5ubuntu1.1 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2022-30123
- https://discuss.rubyonrails.org/t/cve-2022-30123-possible-shell-escape-sequence-injection-vulnerability-in-rack/80728
- https://github.com/advisories/GHSA-wq4h-7r42-5hrr
- https://github.com/rack/rack
- https://github.com/rack/rack/commit/b426cc224908ec6ed6eb8729325392b048215d88
- https://github.com/rack/rack/commit/b426cc224908ec6ed6eb8729325392b048215d88%20%28main%29
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30123.yml
- https://groups.google.com/g/ruby-security-ann/c/LWB10kWzag8
Alle 19 Referenzen
- https://linux.oracle.com/cve/CVE-2022-30123.html
- https://linux.oracle.com/errata/ELSA-2022-7343.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-30123
- https://security.gentoo.org/glsa/202310-18
- https://security.netapp.com/advisory/ntap-20231208-0011
- https://security.netapp.com/advisory/ntap-20231208-0011/
- https://ubuntu.com/security/notices/USN-5253-1
- https://ubuntu.com/security/notices/USN-5896-1
- https://ubuntu.com/security/notices/USN-7036-1
- https://www.cve.org/CVERecord?id=CVE-2022-30123
- https://www.debian.org/security/2023/dsa-5530