# CVE-2024-32978: Kaminari Insecure File Permissions Vulnerability

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-05-27T16:05:30.598Z
- Modified: 2026-06-17T07:30:48.577Z
- Also known as: GHSA-7r3j-qmr4-jfpj
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Kaminari is a paginator for web app frameworks and object relational mappings. A security vulnerability involving insecure file permissions has been identified in the Kaminari pagination library for Ruby on Rails, concerning insecure file permissions. This vulnerability is of moderate severity due to the potential for unauthorized write access to particular Ruby files managed by the library. Such access could lead to the alteration of application behavior or data integrity issues. Users of affected versions are advised to update to Kaminari version 0.16.2 or later, where file permissions have been adjusted to enhance security. If upgrading is not feasible immediately, review and adjust the file permissions for particular Ruby files in Kaminari to ensure they are only accessible by authorized user.

(As written by CVE List.)

## Affected

- kaminari kaminari: >= 0.15.0, <= 0.16.1
- kaminari_project kaminari: 0.15.0; 0.15.1; 0.16.0; 0.16.1 (not affected: 0.16.2)
- kaminari (RubyGems): from 0.15.0 before 0.16.2

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/kaminari/kaminari/security/advisories/GHSA-7r3j-qmr4-jfpj> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32978> (advisory)
- <https://github.com/kaminari/kaminari> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kaminari/CVE-2024-32978.yml> (web)

## Sources

- CVE List: [CVE-2024-32978](https://www.cve.org/CVERecord?id=CVE-2024-32978), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-7r3j-qmr4-jfpj](https://github.com/advisories/GHSA-7r3j-qmr4-jfpj), CC-BY-4.0, modified 2024-05-31
- NVD: [CVE-2024-32978](https://nvd.nist.gov/vuln/detail/CVE-2024-32978), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32978 · Whole record: https://cve.day/CVE-2024-32978.json · Rebuilt by cve.day 2026-11-25T22:58:40.945Z
