USN-9340-1: Kaminari vulnerability

Published Dec 1, 2026
·
Updated

It was discovered that Kaminari incorrectly handled certain request parameters when generating pagination links. A remote attacker could possibly use this issue to inject arbitrary code into pages that contained pagination links.

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/ruby-kaminari-core<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/ruby-kaminari<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/ruby-kaminari<0.16.3-1ubuntu0.1~esm1
0.16.3-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-kaminari-core to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/ruby-kaminari to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/ruby-kaminari to a version that resolves this vulnerability.

    Fixed in 0.16.3-1ubuntu0.1~esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What application behavior must be present for this issue to be exploitable?

The application must generate pages containing Kaminari pagination links and handle the affected request parameters. The issue can allow injected code to appear in those pages.

2

Does exploitation require local access or authentication?

The issue is described as remotely exploitable. No authentication requirement or local-access prerequisite is stated in the provided information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203