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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kaminari | kaminari | >= 0.15.0, <= 0.16.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-kaminari | No fix yet | — |
| Ubuntu 26.04 LTS | ruby-kaminari | No fix yet | — |
| Ubuntu 25.10 | ruby-kaminari | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-kaminari | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-kaminari | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ruby-kaminari | No fix yet | — |
| Ubuntu 18.04 LTS | ruby-kaminari | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-kaminari | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | kaminari | >= 0.15.0, < 0.16.2 | 0.16.2 | GHSA-7r3j-qmr4-jfpj |