ubuntu-cve-2024-32978
Vulnerability from osv_ubuntu
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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "0.16.3-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@0.16.3-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.16.3-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "0.17.0-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@0.17.0-3?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.0-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "1.0.1-5"
},
{
"binary_name": "ruby-kaminari-actionview",
"binary_version": "1.0.1-5"
},
{
"binary_name": "ruby-kaminari-activerecord",
"binary_version": "1.0.1-5"
},
{
"binary_name": "ruby-kaminari-core",
"binary_version": "1.0.1-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@1.0.1-5?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.1-4",
"1.0.1-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "1.2.1-1"
},
{
"binary_name": "ruby-kaminari-actionview",
"binary_version": "1.2.1-1"
},
{
"binary_name": "ruby-kaminari-activerecord",
"binary_version": "1.2.1-1"
},
{
"binary_name": "ruby-kaminari-core",
"binary_version": "1.2.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@1.2.1-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-actionview",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-activerecord",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-core",
"binary_version": "1.2.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@1.2.2-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-actionview",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-activerecord",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-core",
"binary_version": "1.2.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@1.2.2-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-kaminari",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-actionview",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-activerecord",
"binary_version": "1.2.2-1"
},
{
"binary_name": "ruby-kaminari-core",
"binary_version": "1.2.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "ruby-kaminari",
"purl": "pkg:deb/ubuntu/ruby-kaminari@1.2.2-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.2-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2024-32978",
"modified": "2026-05-20T15:09:01Z",
"published": "2024-05-27T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-32978"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-32978"
},
{
"type": "REPORT",
"url": "https://github.com/kaminari/kaminari/security/advisories/GHSA-7r3j-qmr4-jfpj"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-32978"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.