|
| 1 | +--- |
| 2 | +layout: advisory |
| 3 | +title: 'CVE-2024-28103 (actionpack): Missing security headers in Action Pack on non-HTML |
| 4 | + responses' |
| 5 | +comments: false |
| 6 | +categories: |
| 7 | +- actionpack |
| 8 | +- rails |
| 9 | +advisory: |
| 10 | + gem: actionpack |
| 11 | + framework: rails |
| 12 | + cve: 2024-28103 |
| 13 | + ghsa: fwhr-88qx-h9g7 |
| 14 | + url: https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7 |
| 15 | + title: Missing security headers in Action Pack on non-HTML responses |
| 16 | + date: 2024-06-04 |
| 17 | + description: | |
| 18 | + Permissions-Policy is Only Served on HTML Content-Type |
| 19 | +
|
| 20 | + The application configurable Permissions-Policy is only served |
| 21 | + on responses with an HTML related Content-Type. |
| 22 | +
|
| 23 | + This has been assigned the CVE identifier CVE-2024-28103. |
| 24 | +
|
| 25 | + Versions Affected: >= 6.1.0 |
| 26 | + Not affected: < 6.1.0 |
| 27 | + Fixed Versions: 6.1.7.8, 7.0.8.4, and 7.1.3.4 |
| 28 | +
|
| 29 | + Impact |
| 30 | + ------ |
| 31 | +
|
| 32 | + Responses with a non-HTML Content-Type are not serving the configured |
| 33 | + Permissions-Policy. There are certain non-HTML Content-Types that |
| 34 | + would benefit from having the Permissions-Policy enforced. |
| 35 | +
|
| 36 | + Releases |
| 37 | + -------- |
| 38 | +
|
| 39 | + The fixed releases are available at the normal locations. |
| 40 | +
|
| 41 | + Workarounds |
| 42 | + ----------- |
| 43 | +
|
| 44 | + N/A |
| 45 | +
|
| 46 | + Patches |
| 47 | + ------- |
| 48 | +
|
| 49 | + To aid users who aren't able to upgrade immediately we have provided |
| 50 | + patches for the supported release series in accordance with our |
| 51 | + [maintenance policy](https://guides.rubyonrails.org/maintenance_policy.html#security-issues) |
| 52 | + regarding security issues. They are in git-am format and consist |
| 53 | + of a single changeset. |
| 54 | +
|
| 55 | + * 6-1-include-permissions-policy-header-on-non-html.patch - Patch for 6.1 series |
| 56 | + * 7-0-include-permissions-policy-header-on-non-html.patch - Patch for 7.0 series |
| 57 | + * 7-1-include-permissions-policy-header-on-non-html.patch - Patch for 7.1 series |
| 58 | +
|
| 59 | + Credits |
| 60 | + ------- |
| 61 | +
|
| 62 | + Thank you [shinkbr](https://hackerone.com/shinkbr) for reporting this! |
| 63 | + cvss_v3: 5.4 |
| 64 | + unaffected_versions: |
| 65 | + - "< 6.1.0" |
| 66 | + patched_versions: |
| 67 | + - "~> 6.1.7.8" |
| 68 | + - "~> 7.0.8.4" |
| 69 | + - "~> 7.1.3.4" |
| 70 | + - ">= 7.2.0.beta2" |
| 71 | + related: |
| 72 | + url: |
| 73 | + - https://nvd.nist.gov/vuln/detail/CVE-2024-28103 |
| 74 | + - https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7 |
| 75 | + - https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523 |
| 76 | + - https://github.com/advisories/GHSA-fwhr-88qx-h9g7 |
| 77 | +--- |
0 commit comments