Improper Input Validation Affecting imgbased package, versions <0:1.0.22-1.el7ev


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.49% (40th 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-IMGBASED-4485344
  • published26 Mar 2023
  • disclosed29 Jun 2018

Introduced: 29 Jun 2018

CVE-2018-10874  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 imgbased to version 0:1.0.22-1.el7ev or higher.
This issue was patched in RHSA-2018:2321.

NVD Description

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

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

CVSS Base Scores

version 3.1