Exploit database

GH-77b084c651f84d76fe59d880f4600f96

genaforvena/mishe-tauftauf2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

413 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files331
genaforvena/mishe-tauftauf2shellRevision 9edba631cfcf
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/repro/ruby2shell-gem-coerce-probe.sh

Shell · 1,305 bytes
#!/usr/bin/env bash
# W346: 4-build differential for pure gem-style coercion objects reaching
# String#ljust. Evidence is gitignored under lab/build/evidence/gem-coerce-survey/.
set -u
cd "$(dirname "$0")/../.." || exit 1
EVID=lab/build/evidence/gem-coerce-survey
mkdir -p "$EVID"
: >"$EVID/matrix.txt"

run() { # build tag arm
  local build="$1" tag="$2" arm="$3"
  local rb
  case "$build" in
    *-plain) rb="lab/build/plain/$build/bin/ruby" ;;
    *) rb="lab/build/$build/bin/ruby" ;;
  esac
  [ -x "$rb" ] || { echo "missing $rb" >&2; exit 2; }
  ASAN_OPTIONS=detect_leaks=0 timeout 60 "$rb" \
    lab/repro/ruby2shell-gem-coerce-probe.rb "$arm" \
    >"$EVID/$tag.out" 2>"$EVID/$tag.err"
  local rc=$?
  local asan kind result
  asan=$(grep -c 'ERROR: AddressSanitizer' "$EVID/$tag.err" || true)
  kind=$(grep -m1 -E 'SUMMARY: AddressSanitizer: [a-z-]+.*' "$EVID/$tag.err" || true)
  result=$(grep '^GEMCOERCE' "$EVID/$tag.out" || true)
  printf '%s tag=%s arm=%s rc=%s asan=%s %s %s\n' \
    "$build" "$tag" "$arm" "$rc" "$asan" "$kind" "${result//$'\n'/ | }" \
    | sed 's/  */ /g'
}

for build in ruby-3.4.12-plain ruby-3.4.13-plain ruby-3.4.12-asan ruby-3.4.13-asan; do
  run "$build" "$build-to-str" to-str
  run "$build" "$build-to-int" to-int
done >"$EVID/matrix.txt"
cat "$EVID/matrix.txt"