Skip to content

GHSA-cpv6-pfq6-j2v7 CVE-2017-2662

katello Improper Privilege Management vulnerability

Medium RubyGems
Severity
4.3 / 10
Medium · CVSS 3.0
Exploit chance (EPSS)
0.94%
Chance of exploitation in the next 30 days. Higher than 60.88% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-269 Improper Privilege Management
Fix
3.17.0.rc1
Upgrade katello to this version or later

Description

A flaw was found in Foreman's katello plugin version 3.4.5. After setting a new role to allow restricted access on a repository with a filter (filter set on the Product Name), the filter is not respected when the actions are done via hammer using the repository id.

Affected versions

RubyGems

PackageVulnerableFixed in
katello
< 3.17.0.rc1
3.17.0.rc1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

katello RubyGems → 3.17.0.rc1

bundler
bundle update katello # Gemfile: gem "katello", ">= 3.17.0.rc1"

Severity breakdown

CVSS 3.0 4.3

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Weakness

CWE-269: Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

How to prevent it
  • Architecture and Design, Operation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Architecture and Design: Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Architecture and Design: Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-c43c-rf7g-5xpg
katello: missing repository authorization in content_uploads exposes cross-product content existence
Medium Also affects katello
GHSA-fwj4-6wgp-mpxm
Katello: Denial of Service and potential information disclosure via SQL injection
Medium Also affects katello
GHSA-m4wh-848j-9w2r
Katello cleartext password storage issue
Low Also affects katello
GHSA-5xv2-q475-rwrh
Katello uses hard coded credential
Critical Also affects katello
GHSA-527r-mfmj-prqf
Katello SQL Injection vulnerabilities
High Also affects katello
GHSA-mhhc-r88h-2qrm
katello Cross-site Scripting vulnerability
Medium Also affects katello
GHSA-jx5v-788g-qw58
katello SQL Injection vulnerability
Medium Also affects katello
GHSA-7hp6-4w63-5g45
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
Critical Same weakness, CWE-269
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor