HTTP2Shell (CVE-2026-111497) lane batch 2: security-fix steps karakeep 0.34.1, tandoor 2.7.2 (Node 24.22.1 read from the image; 9202 proven); box_walk moves two services sharing one image (felhom.eu R-1332)
gates / gates (push) Successful in 40s

This commit is contained in:
admin committed 2026-10-28 10:31:38 +01:00
1 parent abf3db352e
commit 71e3fdfc95
12 files changed
+717 -20

No files matched your search

+20 -5
View File
@@ -397,6 +397,22 @@ def drill_bump(app, frm, to, service_hint=None):
return _drill_bump(app, frm, to, service_hint)
def move_images(s, froms, tos):
"""Move each `image: FROM` line of a compose text to its TO. Returns (text, None), or (the text unchanged, the FROM
that cannot move). Two services that share one image (dawarich + dawarich-sidekiq) list the same pair twice and move
together; one FROM asked to go to two different TOs is refused. Pinned by test_box_walk_drill_move.py."""
pairs = {}
for f1, t1 in zip(froms, tos):
if pairs.setdefault(f1, t1) != t1:
return s, f1
out = s
for f1, t1 in pairs.items():
if f"image: {f1}" not in out:
return s, f1
out = out.replace(f"image: {f1}", f"image: {t1}")
return out, None
def _drill_bump(app, frm, to, service_hint=None):
"""Commit the edge to the DRILL repo. catalog_since set by hand (the drill repo has no gates).
@@ -413,11 +429,10 @@ def _drill_bump(app, frm, to, service_hint=None):
if len(froms) != len(tos):
say(f" [5] from/to lists differ in length: {froms} vs {tos}")
return None
for f1, t1 in zip(froms, tos):
if f"image: {f1}" not in s:
say(f" [5] FROM ref not found in compose: {f1}")
return None
s = s.replace(f"image: {f1}", f"image: {t1}")
s, missing = move_images(s, froms, tos)
if missing:
say(f" [5] FROM ref not found in compose: {missing}")
return None
open(comp, "w").write(s)
f = open(fy).read()
today = datetime.now().strftime("%Y-%m-%d")