{"id":"CVE-2024-28103","aliases":["CVE-2024-28103","GHSA-fwhr-88qx-h9g7","BIT-RAILS-2024-28103"],"related":[],"kind":"vulnerability","state":"published","title":"Action Pack is missing security headers on non-HTML responses","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# Permissions-Policy is Only Served on HTML Content-Type\n\nThe application configurable Permissions-Policy is only served on responses\nwith an HTML related Content-Type.\n\nThis has been assigned the CVE identifier CVE-2024-28103.\n\n\nVersions Affected:  >= 6.1.0\nNot affected:       < 6.1.0\nFixed Versions:     6.1.7.8, 7.0.8.4, and 7.1.3.4\n\nImpact\n------\nResponses with a non-HTML Content-Type are not serving the configured Permissions-Policy. There are certain non-HTML Content-Types that would benefit from having the Permissions-Policy enforced.\n\n\nReleases\n--------\nThe fixed releases are available at the normal locations.\n\nWorkarounds\n-----------\nN/A\n\nPatches\n-------\nTo aid users who aren't able to upgrade immediately we have provided patches for\nthe supported release series in accordance with our \n[maintenance policy](https://guides.rubyonrails.org/maintenance_policy.html#security-issues)\nregarding security issues. They are in git-am format and consist of a\nsingle changeset.\n\n* 6-1-include-permissions-policy-header-on-non-html.patch - Patch for 6.1 series\n* 7-0-include-permissions-policy-header-on-non-html.patch - Patch for 7.0 series\n* 7-1-include-permissions-policy-header-on-non-html.patch - Patch for 7.1 series\n\n\n\nCredits\n-------\n\nThank you [shinkbr](https://hackerone.com/shinkbr) for reporting this!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Action Pack es un framework para manejar y responder a solicitudes web. Desde 6.1.0, la Política de permisos configurable de la aplicación solo se ofrece en respuestas con un tipo de contenido relacionado con HTML. Esta vulnerabilidad se solucionó en 6.1.7.8, 7.0.8.2 y 7.1.3.3.","source":"nvd"}],"published":"2024-06-04T19:47:44.199Z","modified":"2026-09-10T03:50:15.333Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":">= 6.1.0.0, < 6.1.7.8","status":"affected"},{"version":">= 7.0.0.0, < 7.0.8.4","status":"affected"},{"version":">= 7.1.0.0, < 7.1.3.4","status":"affected"},{"version":">= 7.2.0.beta1, < 7.2.0.beta2","status":"affected"}],"vendor":"rails","product":"rails","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.1.0.0","fixed":"6.1.78","status":"affected"}],"vendor":"rails","product":"rails","cpe":"cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.0.0.0","fixed":"7.0.8.4","status":"affected"}],"vendor":"rails","product":"rails","cpe":"cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.1.0.0","fixed":"7.1.3.4","status":"affected"}],"vendor":"rails","product":"rails","cpe":"cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.2.0.beta1","fixed":"7.2.0.beta2","status":"affected"}],"vendor":"rails","product":"rails","cpe":"cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.1.0","status":"affected","fixed":"6.1.7.8"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.8.4"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.1.0","status":"affected","fixed":"7.1.3.4"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.2.0.beta1","status":"affected","fixed":"7.2.0.beta2"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"6.1.0","fixed":"6.1.7.8"},{"status":"affected","introduced":"7.0.0","fixed":"7.0.8.4"},{"status":"affected","introduced":"7.1.0","fixed":"7.1.3.4"},{"status":"affected","version":"7.2.0"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"6.1.0","status":"affected","fixed":"6.1.8"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.9"},{"type":"semver","introduced":"7.1.0","status":"affected","fixed":"7.1.4"}],"ecosystem":"Bitnami","package":"rails","purl":"pkg:bitnami/rails","source":"bitnami"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20241206-0002/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28103","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/rails/rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-28103.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20241206-0002","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-20T16:17:47.516Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-28103","url":"https://www.cve.org/CVERecord?id=CVE-2024-28103","licence":"CVE Terms of Use","modified":"2024-12-06T13:09:28.269Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fwhr-88qx-h9g7","url":"https://github.com/advisories/GHSA-fwhr-88qx-h9g7","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.333Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-28103","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28103","licence":"Public domain","modified":"2026-06-17T07:20:58.530Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RAILS-2024-28103","url":"https://osv.dev/vulnerability/BIT-RAILS-2024-28103","licence":"Apache-2.0","modified":"2025-10-06T09:42:16.629Z"}],"updatedAt":"2026-11-25T22:58:41.430Z","epss":{"score":0.00658,"percentile":0.52761,"date":"2026-12-01T12:00:22.000Z"}}