# CVE-2017-2662: katello Improper Privilege Management vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.0, CNA) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.94% (percentile 59, 2026-11-26)
- **CWE:** CWE-862
- **Aliases:** GHSA-cpv6-pfq6-j2v7
- **Published:** 2018-08-22T16:00:00.000Z
- **Modified:** 2026-06-17T01:16:36.580Z

## Who should check

- Projects that depend on RubyGems package katello (\< 3.17.0.rc1)
- Anyone running The Foreman Project foreman katello plugin 3.4.5

## 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 and fixed versions

- RubyGems `katello`: affected \< 3.17.0.rc1; fixed 3.17.0.rc1 (osv)
- The Foreman Project foreman katello plugin: 3.4.5 (cvelist)

## Mitigation

- Upgrade katello to 3.17.0.rc1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-2662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-2662.md
Affected: katello < 3.17.0.rc1
Fixed in: 3.17.0.rc1

Steps:
1. Search this machine and project for katello (RubyGems), The Foreman Project foreman katello plugin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-2662 being exploited?

There is no confirmed exploitation: CVE-2017-2662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.94% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-2662?

Medium: CVSS 4.3 (v3.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2017-2662?

katello \< 3.17.0.rc1.

### Is there a fix for CVE-2017-2662?

Yes. Fixed in 3.17.0.rc1. Upgrade katello to 3.17.0.rc1 or later.

### How do I check if I'm affected by CVE-2017-2662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://projects.theforeman.org/issues/18838>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-2662>
- patch: <https://github.com/Katello/katello/pull/8772>
- patch: <https://github.com/Katello/katello/commit/853260e3e9f94179d5881199e7885d1c08e600f6>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2662>
- other: <https://github.com/Katello/katello>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-2662>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cpv6-pfq6-j2v7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2017-2662> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-2662>
