Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-137684 | A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.3. This affects the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py of the component Editor SQL Run API. Performing a manipulation of the argument db_name results in authorization bypass. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The pull request to fixCVSS 8.7CVE-2026-137992 | libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.CVSS 8.5CVE-2026-137994 | Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes of .leo outlines. Attackers can place a pickle __reduce__ gadget in a or element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.CVSS 7.0CVE-2026-137995 | FOG Project before 1.6.0.119 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain host tokens from status/hostgetkey.php by supplying a host MAC address. Attackers can present the token to service/hostinfo.php to retrieve decrypted Active Directory join credentials and Windows product keys during deployment windows.CVSS 6.8CVE-2026-137996 | Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.CVSS 8.5CVE-2026-137997 | HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.CVSS 8.5CVE-2026-137998 | Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle __reduce__ gadget in a .ckpt file loaded via torch.load with weights_only=False to run code with the user's privileges.CVSS 8.5CVE-2026-137999 | JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated __init__ signature, executing injected code when the generated module is imported.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Hermes Memory Installer Fix: Loading Sidecar Modules from Runtime Scripts

The latest update to hermes-memory-installer resolves a persistent issue with how memory sidecar modules are loaded in dynamic environments. Specifically, the…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 4 Min. Lesezeit
Quelle: dev.to
Rubrik: Programmazione sicura

The latest update to hermes-memory-installer resolves a persistent issue with how memory sidecar modules are loaded in dynamic environments. Specifically, the fix ensures that these modules are correctly instantiated when their laoding logic is defined within runtime scripts rather than from static configuration or binary initialization. For teams using sidecar patterns for memory profiling, leak detection, or custom allocator hooks, this change eliminates a class of runtime failures that occurred when scripts attempted to load modules after the main process had already started.



The core problem was rooted in the order of initialization. In previous versions, the memory-sidecar loader assumed that all module paths were resolved at compile time or at least before the runtime script execution phase. When a script explicitly imported or required a sidecar module, the installer would sometimes skip the loading call because the internal registry already had a placeholder from early bootstrap. This led to silent errors where the module was registered but never activated, causing memory governance policies to remain unenforced.



The fix modifies the loading pipeline to defer module resolution until the runtime script is executed. Instead of pre-populating the sidecar registry with stub references, the installer now treats load requests from runtime scripts as first-class operations. The code path for dynamic loading was refactored to remove the early-exit guard that blocked duplicate registration attempts, replacing it with a state-aware check that properly initializes the module if needed.



Here is a concise example of the behavior before and after the fix:




# Before the fix: loading from a runtime script could be silently ignored
from hermes_memory_installer import SidecarLoader

loader = SidecarLoader()
# This call might succeed only if the module was already pre-loaded.
loader.load("memory-limiter", options={"limit": "512MB"})

# After the fix: load is guaranteed to execute the sidecar module initialization
loader.load("memory-limiter", options={"limit": "512MB"})
# The module is now activated regardless of prior registration state.






The implementation detail hinges on a change in the internal module cache. Previously, the cache had a single boolean flag indicating “loaded or not”; once set, all subsequent attempts were no-ops. The fix introduces a loading state machine with states such as INACTIVE, PENDING, and ACTIVE. When load() is called from a runtime script, the state transitions to PENDING and triggers the proper initialization sequence—loading shared objects, executing constructors, and attaching listeners. Only after successful initialization does the state become ACTIVE. If the module was already ACTIVE, the call is redirected to a reconfiguration method (if supported) or safely ignored without breaking the runtime.



From an architectural perspective, this change aligns the installer with the principle of late binding. It allows operators to compose memory sidecars dynamically by supplying runtime scripts that introspect the current system load, pod annotations, or even external configuration sources before deciding which modules to activate. This is particularly useful in Kubernetes environments where the same container image might be deployed with different memory policies depending on the namespace or workload profile.



One subtlety that the fix addresses is script execution order. In some edge cases, a runtime script might load a sidecar module after the installer’s own cleanup handlers have been registered. The new code ensures that module activation can happen at any point before the process’s main loop, and that cleanup hooks are propagated correctly even for late-loaded modules. This was tested with allocator wrappers and garbage collection triggers, both of which must have stable initialization and teardown sequences.



The update also includes a deprecation warning for any configuration that relies on pre-loading behavior. If a static configuration file lists a module path, the installer will still load it eagerly, but the documentation now strongly encourages runtime script loading for flexibility. The commit message sums it up: “fix: load memory sidecar modules from runtime scripts” — a straightforward description for a change that simplifies a lot of hidden complexity.



For developers maintaining custom sidecar modules, this fix means fewer surprises. You can now write runtime scripts that conditionally load memory sidecars based on environment variables or runtime metrics without worrying about the installer ignoring your requests. It also makes it easier to test sidecar logic in isolation without a full deployment cycle.



In summary, the hermes-memory-installer update removes a historic limitation in dynamic module loading. By honoring load calls from runtime scripts as first-class operations, it enables more responsive and configurable memory management in sidecar-based architectures. The change is backward-compatible for most use cases—projects that rely on static loading will see no difference, while those leveraging runtime scripts will finally get the behavior they expected.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Discussione della community e commenti

🌐 Entra nella chat principale

Avvia la discussione nel flusso broadcast della Social Chat oppure invia qui sopra un contributo esperto tramite il modulo di integrazione.

Valutazione della community & prova sociale
⭐ Giudizio dei lettori
–
Ø / 5.0
Ancora nessuna valutazione dei lettori
Questo articolo ti è stato utile?
0
Lascia ora la tua valutazione
Valutazione dettagliata (facoltativa)
Contenuto & qualità
Fonte & credibilità
Attualità
Briefing di sicurezza Gratuito · disdetta in 1 clic

Intelligence Digest — gratuito

Ogni giorno le notizie di sicurezza più importanti · annullabile in qualsiasi momento

Cluster di storie correlate & fonti (IA vettoriale)

2 Cluster
2 fonti
CVE-2026-93653 | Red Hat Enterprise Linux/Hardened Images Splash Backend tilingPatternFill denial of service (EUVD-2026-82931)
VulDB Updates 45 min. fa
1 altra fonte
Articoli simili
🔍 Verwandte News

Auch interessante Nachrichten Hermes Memory Installer Fix: Loading Sidecar Modules from Runtime Scripts

Thematisch verwandte Begriffe: Hermes, Memory, Installer, Loading · 6 Treffer

Laden...

Caricamento degli articoli ...

Laden...

Caricamento dei video ...

Laden...

Caricamento degli articoli ...

Laden...

Caricamento dei video ...

Laden...

Caricamento degli articoli ...

Laden...

Caricamento dei video ...

Laden...

Caricamento degli articoli ...

Laden...

Caricamento dei video ...

💬 Caricamento dei commenti…
Trascina per aggiornare
Widgets & Topics
Loading widgets…
Nächster Beitrag