CVE-2017-2662: Katello Katello Improper Privilege Management Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-cpv6-pfq6-j2v7
CVSS 4.3
CWE-269
Published
Advisory Summary

CVE-2017-2662 is a MODERATE (CVSS 4.3) katello improper privilege management vulnerability vulnerability (CWE-269: Improper Privilege Management) affecting Katello libraries in the RubyGems ecosystem. The issue involves katello improper privilege management vulnerability. Remediation is available by upgrading affected packages to version 3.17.0.rc1.

CVE-2017-2662 at a Glance

CVE Identifier CVE-2017-2662
GHSA Identifier GHSA-cpv6-pfq6-j2v7
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-269: Improper Privilege Management
Affected Product Katello
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2017-2662

To remediate this vulnerability, upgrade all affected Katello dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

katello fixed: 3.17.0.rc1
Upgrade katello to 3.17.0.rc1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for katello

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-2662, inspect your project dependencies for Katello:

inspect dependencies for katello

Analyze the terminal output to locate any version of Katello in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.17.0.rc1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Katello, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2017-2662 Affected Katello Versions

1 component(s)
Fixed Versions:
3.17.0.rc1
Product / Package Ecosystem Affected Versions Fixed Version
katello
RubyGems
< 3.17.0.rc1
3.17.0.rc1

References

Frequently Asked Questions

What is CVE-2017-2662?
CVE-2017-2662 is a security vulnerability in Katello involving katello Improper Privilege Management vulnerability under CWE-269: Improper Privilege Management.
Which Katello versions are affected?
Affected versions include releases prior to 3.17.0.rc1 across affected packages: katello.
What version fixes CVE-2017-2662?
Upgrading to 3.17.0.rc1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is katello affected?
Yes, katello is affected in releases prior to 3.17.0.rc1. Upgrade your dependency to 3.17.0.rc1 or later.
What is the CVSS score of CVE-2017-2662?
CVE-2017-2662 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2017-2662?
CVE-2017-2662 is classified under 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 can I check RubyGems dependencies for CVE-2017-2662?
Run the dependency tree command: 'inspect dependencies for katello'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-cpv6-pfq6-j2v7",
  "modified" : "2023-01-27T00:52:53Z",
  "published" : "2022-05-13T01:36:51Z",
  "aliases" : [ "CVE-2017-2662" ],
  "summary" : "katello Improper Privilege Management vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "katello"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.17.0.rc1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-2662"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Katello/katello/pull/8772"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Katello/katello/commit/853260e3e9f94179d5881199e7885d1c08e600f6"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2662"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Katello/katello"
  }, {
    "type" : "WEB",
    "url" : "https://projects.theforeman.org/issues/18838"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-27T00:52:53Z",
    "nvd_published_at" : "2018-08-22T16:29:00Z"
  }
}