Rubygem-hammer_cli: command injection via insecure editor invocation (Red Hat Red Hat Satellite 6.16 for RHEL 8)

CVE-2026-12545
MEDIUM 6.7

En bref

Source
NVD
EPSS
EPSS 0.52 % · centile 44 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Awaiting Analysis

Description

A flaw was found in rubygem-hammer_cli. A command injection vulnerability exists in Hammer CLI and the Railties (Ruby on Rails) component distributed with Satellite due to the insecure interpolation of the $EDITOR environment variable into the Ruby system() method. By passing a single interpolated string to system(), the application invokes a system shell (/bin/sh) that interprets shell metacharacters (e.g., ;, |, &).

Faiblesses (CWE)

  • CWE-78 — Injection de commande système

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.7CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat
CVSS 3.1MEDIUM 6.7CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Produits affectés

ProduitVersions
Red Hat · Red Hat Satellite 6.16 for RHEL 8unaffected 0:3.12.0-2.el8sat < *
Red Hat · Red Hat Satellite 6.16 for RHEL 9unaffected 0:3.12.0-2.el9sat < *
Red Hat · Red Hat Satellite 6.17 for RHEL 9unaffected 0:3.14.0-2.el9sat < *
Red Hat · Red Hat Satellite 6.18 for RHEL 9unaffected 0:3.16.0-2.el9sat < *
Red Hat · Red Hat Satellite 6.19 for RHEL 9unaffected 0:3.18.0-2.el9sat < *
Red Hat · Red Hat Satellite 6

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD