Vulnerabilities in pkg:gem/smart_proxy_dynflow

PACKAGE
Advisory Identifier: GHSA-gx5g-xcxj-cx2w
Advisory Summary

CVE-2018-14643 is a CRITICAL (CVSS 9.8) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Smart proxy dynflow libraries in the RubyGems ecosystem. The issue involves smart_proxy_dynflow gem authentication bypass in foreman remote execution feature. Remediation is available by upgrading affected packages to version 0.2.1, 0.1.11.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/smart_proxy_dynflow

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/smart_proxy_dynflow. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gx5g-xcxj-cx2w CVE-2018-14643 CRITICAL smart_proxy_dynflow gem authentication bypass in Foreman remote execution feature

CVE-2018-14643 at a Glance

CVE Identifier CVE-2018-14643
GHSA Identifier GHSA-gx5g-xcxj-cx2w
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-287: Improper Authentication
Affected Product Smart proxy dynflow
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2018-14643

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

smart_proxy_dynflow fixed: 0.2.1
Upgrade smart_proxy_dynflow to 0.2.1
smart_proxy_dynflow fixed: 0.1.11
Upgrade smart_proxy_dynflow to 0.1.11
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 smart_proxy_dynflow

How to Check if You Are Affected

To determine whether your application is affected by CVE-2018-14643, inspect your project dependencies for Smart proxy dynflow:

inspect dependencies for smart_proxy_dynflow

Analyze the terminal output to locate any version of Smart proxy dynflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.1), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Smart proxy dynflow, 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

An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. A malicious attacker can use this flaw to remotely execute arbitrary commands on machines managed by vulnerable Foreman instances, in a highly privileged context.

CVE-2018-14643 Affected Smart proxy dynflow Versions

2 component(s)
Fixed Versions:
0.2.10.1.11
Product / Package Ecosystem Affected Versions Fixed Version
smart_proxy_dynflow
RubyGems
≥ 0.2.0
< 0.2.1
All 1 versions
0.2.0
0.2.1
smart_proxy_dynflow
RubyGems
< 0.1.11
0.1.11

References

Frequently Asked Questions

What is CVE-2018-14643?
CVE-2018-14643 is a security vulnerability in Smart proxy dynflow involving smart_proxy_dynflow gem authentication bypass in Foreman remote execution feature under CWE-287: Improper Authentication.
Which Smart proxy dynflow versions are affected?
Affected versions include releases prior to 0.2.1, 0.1.11 across affected packages: smart_proxy_dynflow.
What version fixes CVE-2018-14643?
Upgrading to 0.2.1, 0.1.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is smart_proxy_dynflow affected?
Yes, smart_proxy_dynflow is affected in releases prior to 0.2.1, 0.1.11. Upgrade your dependency to 0.2.1, 0.1.11 or later.
What is the CVSS score of CVE-2018-14643?
CVE-2018-14643 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2018-14643?
CVE-2018-14643 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check RubyGems dependencies for CVE-2018-14643?
Run the dependency tree command: 'inspect dependencies for smart_proxy_dynflow'. 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-gx5g-xcxj-cx2w",
  "modified" : "2023-08-28T13:40:50Z",
  "published" : "2018-10-08T23:18:13Z",
  "aliases" : [ "CVE-2018-14643" ],
  "summary" : "smart_proxy_dynflow gem authentication bypass in Foreman remote execution feature",
  "details" : "An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. A malicious attacker can use this flaw to remotely execute arbitrary commands on machines managed by vulnerable Foreman instances, in a highly privileged context.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "smart_proxy_dynflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.2.0"
      }, {
        "fixed" : "0.2.1"
      } ]
    } ],
    "versions" : [ "0.2.0" ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "smart_proxy_dynflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-14643"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/theforeman/smart_proxy_dynflow/pull/54"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2733"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2018-14643"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1629063"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14643"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/smart_proxy_dynflow/CVE-2018-14643.yml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/theforeman/smart_proxy_dynflow"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:38:13Z",
    "nvd_published_at" : "2018-09-21T13:29:00Z"
  }
}