CVE-2024-28103
rubygem-actionpack: Missing security headers in Action Pack on non-HTML responses
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by GHSA (medium), Red Hat (medium), Ruby Advisory DB (medium).
Description
Action Pack is a framework for handling and responding to web requests. Since 6.1.0, the application configurable Permissions-Policy is only served on responses with an HTML related Content-Type. This vulnerability is fixed in 6.1.7.8, 7.0.8.2, and 7.1.3.3.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | rubygem-activesupport | 7.1.3.4-1.ph4 |
| Photon OS 5.0 | rubygem-activesupport | 7.0.8.5-1.ph5 |
| debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| debian 13 | rails | 2:7.2.2.1+dfsg-1 |
| debian 14 | rails | 2:7.2.2.1+dfsg-1 |
| echo | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| rapidfort debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1, 2:7.2.2.1+dfsg-1 |
| rapidfort debian 13 | rails | 2:6.1.7.10+dfsg-1~deb12u1, 2:7.2.2.1+dfsg-1 |
| rapidfort ubuntu 20.04 | rails | 2:6.1.7.3+dfsg-2 |
| rapidfort ubuntu 22.04 | rails | 2:6.1.7.3+dfsg-2 |
| rapidfort ubuntu 24.04 | rails | 2:6.1.7.3+dfsg-2 |
| Red Hat | rubygem-actionpack, satellite:el8::rubygem-actionpack | no fix listed |
Show all 15 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | rubygem-activesupport | 7.1.3.4-1.ph4 |
| Photon OS 5.0 | rubygem-activesupport | 7.0.8.5-1.ph5 |
| debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| debian 13 | rails | 2:7.2.2.1+dfsg-1 |
| debian 14 | rails | 2:7.2.2.1+dfsg-1 |
| echo | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| rapidfort debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1, 2:7.2.2.1+dfsg-1 |
| rapidfort debian 13 | rails | 2:6.1.7.10+dfsg-1~deb12u1, 2:7.2.2.1+dfsg-1 |
| rapidfort ubuntu 20.04 | rails | 2:6.1.7.3+dfsg-2 |
| rapidfort ubuntu 22.04 | rails | 2:6.1.7.3+dfsg-2 |
| rapidfort ubuntu 24.04 | rails | 2:6.1.7.3+dfsg-2 |
| Red Hat | rubygem-actionpack | no fix listed |
| Red Hat | satellite:el8::rubygem-actionpack | no fix listed |
| rubygems::GitHub Security Advisory RubyGems | actionpack | 6.1.7.8, 7.0.8.4, 7.1.3.4, 7.2.0.beta2 |
| rubygems::Ruby Advisory Database | actionpack | ~> 6.1.7, >= 6.1.7.8, ~> 7.0.8, >= 7.0.8.4, ~> 7.1.3, >= 7.1.3.4, >= 7.2.0.beta2 |
References
- https://access.redhat.com/security/cve/CVE-2024-28103
- https://github.com/advisories/GHSA-fwhr-88qx-h9g7
- https://github.com/rails/rails
- https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523
- https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-28103.yml
- https://nvd.nist.gov/vuln/detail/CVE-2024-28103
- https://security.netapp.com/advisory/ntap-20241206-0002