{"id":"CVE-2024-28103","aliases":["BIT-rails-2024-28103","GHSA-fwhr-88qx-h9g7"],"url":"https://o3.security/vulnerability/CVE-2024-28103","summary":"Action Pack is missing security headers on non-HTML responses","details":"# 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!","published":"2024-06-04T19:47:44.199Z","modified":"2026-10-28T02:30:25.679835163Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"6.1.7.8"},{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.0.8.4"},{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.1.3.4"},{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.2.0.beta2"}],"fix":{"url":"https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523","label":"rails/rails@35858f1"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28103.json"},{"type":"ADVISORY","url":"https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28103"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241206-0002/"},{"type":"FIX","url":"https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523"},{"type":"PACKAGE","url":"https://github.com/rails/rails"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-28103.yml"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241206-0002"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:25.679835163Z"}}