Cross-site Scripting (XSS) Affecting createrepo_c-libs package, versions <0:0.7.4-1.el7sat


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-CREATEREPOCLIBS-5403765
  • published2 Apr 2023
  • disclosed4 Sept 2018

Introduced: 4 Sep 2018

CVE-2018-16861  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:7 createrepo_c-libs to version 0:0.7.4-1.el7sat or higher.
This issue was patched in RHSA-2019:1222.

NVD Description

Note: Versions mentioned in the description apply only to the upstream createrepo_c-libs package and not the createrepo_c-libs package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A cross-site scripting (XSS) flaw was found in the foreman component of satellite. An attacker with privilege to create entries using the Hosts, Monitor, Infrastructure, or Administer Menus is able to execute a XSS attacks against other users, possibly leading to malicious code execution and extraction of the anti-CSRF token of higher privileged users. Foreman before 1.18.3, 1.19.1, and 1.20.0 are vulnerable.