Lucene search
+L

9 matches found

osv_clsa
osv_clsa
•added 2026/05/25 9:53 p.m.•6 views

CLSA-2026-1779745996 ruby: Fix of CVE-2026-41316

CVE-2026-41316: prohibit ERBdefmethod on marshal-loaded ERB instances by extending the @init singleton-class guard to defmethod and transitively defmodule/defclass, preventing RCE via Marshal.load gadgets...

8.1CVSS6AI score0.01131EPSS
SaveExploits1References1
osv_ghsa
osv_ghsa
•added 2026/04/24 3:36 p.m.•20 views

GHSA-Q339-8RMV-2MHV ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

Summary Ruby 2.7.0 before ERB 2.2.0 was published on rubygems.org introduced an @init instance variable guard in ERBresult and ERBrun to prevent code execution when an ERB object is reconstructed via Marshal.load deserialization. However, three other public methods that also evaluate @src via eva...

8.1CVSS6.8AI score0.01131EPSS
SaveExploits1References4
Github Security Blog
Github Security Blog
•added 2026/04/24 3:36 p.m.•36 views

ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

Summary Ruby 2.7.0 before ERB 2.2.0 was published on rubygems.org introduced an @init instance variable guard in ERBresult and ERBrun to prevent code execution when an ERB object is reconstructed via Marshal.load deserialization. However, three other public methods that also evaluate @src via eva...

8.1CVSS6.8AI score0.01131EPSS
SaveExploits1References4Affected Software1
osv_cve
osv_cve
•added 2026/04/24 2:35 a.m.•20 views

CVE-2026-41316 ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

ERB is a templating system for Ruby. Ruby 2.7.0 before ERB 2.2.0 was published on rubygems.org introduced an @init instance variable guard in ERBresult and ERBrun to prevent code execution when an ERB object is reconstructed via Marshal.load deserialization. However, three other public methods th...

8.1CVSS6.2AI score
SaveExploits0References19
Cvelist
Cvelist
•added 2026/04/24 2:35 a.m.•68 views

CVE-2026-41316 ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

ERB is a templating system for Ruby. Ruby 2.7.0 before ERB 2.2.0 was published on rubygems.org introduced an @init instance variable guard in ERBresult and ERBrun to prevent code execution when an ERB object is reconstructed via Marshal.load deserialization. However, three other public methods th...

8.1CVSS0.01131EPSS
SaveExploits1References1
CVE
CVE
•added 2026/04/24 2:35 a.m.•121 views

CVE-2026-41316

ERB has a deserialization guard for @_init in ERB#result and ERB#run, but public methods ERB#def_method, ERB#def_module, and ERB#def_class were not guarded. The vulnerability arises when Marshal.load is used on untrusted data with erb loaded, allowing code execution via the unguarded paths. Patch...

8.1CVSS6.2AI score0.01131EPSS
SaveExploits1References17
Vulnrichment
Vulnrichment
•added 2026/04/24 2:35 a.m.•13 views

CVE-2026-41316 ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

ERB is a templating system for Ruby. Ruby 2.7.0 before ERB 2.2.0 was published on rubygems.org introduced an @init instance variable guard in ERBresult and ERBrun to prevent code execution when an ERB object is reconstructed via Marshal.load deserialization. However, three other public methods th...

8.1CVSS6.2AI score0.01131EPSS
SaveExploits1References1
RubySec
RubySec
•added 2026/04/21 12:00 a.m.•39 views

ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

ERB implements an @init guard to prevent code execution when ERB objects are reconstructed via Marshal.load on untrusted data. However, ERBdefmethod, ERBdefmodule, and ERBdefclass evaluate the template source without checking this guard, allowing an attacker who controls the data passed to...

8.1CVSS6.4AI score0.01131EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2026/04/13 12:00 a.m.•35 views

ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

ERB implements an @init guard to prevent code execution when ERB objects are reconstructed via Marshal.load on untrusted data. However, ERBdefmethod, ERBdefmodule, and ERBdefclass evaluate the template source without checking this guard, allowing an attacker who controls the data passed to...

8.1CVSS6.4AI score0.01131EPSS
SaveExploits1References1Affected Software1
Rows per page
Query Builder