Wróć do katalogu CVE
CVE-2026-41316

Ominięcie zabezpieczenia deserializacji w ERB

ruby erb

W skrócie

ERB to system szablonów dla Ruby. Ruby 2.7.0 (przed opublikowaniem ERB 2.2.0 na rubygems.org) wprowadził zabezpieczenie w postaci zmiennej instancyjnej `@_init` w `ERB#result` i `ERB#run`, aby zapobiec wykonaniu kodu, gdy obiekt ERB jest rekonstruowany przez `Marshal.load` (deserializacja). Jednak trzy inne publiczne metody, które również ewaluują `@src` przez `eval()`, nie otrzymały tego samego zabezpieczenia: `ERB#def_method`, `ERB#def_module` i `ERB#def_class`. Atakujący, który może wywołać `Marshal.load` na niezaufanych danych w aplikacji Ruby, która ma załadowane `erb`, może użyć `ERB#def_module` (bez argumentów, domyślne parametry) jako punktu wykonania kodu, całkowicie omijając ochronę `@_init`. ERB 4.0.3.1, 4.0.4.1, 6.0.1.1 i 6.0.4 naprawiają problem.

Opis źródłowy · CVE List / CNA

Wpływ na system

Złożoność atakuWysoka
PoufnośćWysoki
IntegralnośćWysoki
DostępnośćWysoki

Podsumowanie CVSS v3.1

8.1Wysoka
Opublikowano:
Zaktualizowano:
EPSS:
1,148%
Wykorzystanie w atakach:
Niepotwierdzone
Kampanie ransomware:
Niepotwierdzone
Wektor ataku:
Sieć

Podatne produkty

Producent, produkt i zakres podatnych wersji.

Producent, produkt i podatne wersje
Producent:rubyerbPodatne wersje:
< 4.0.3.1Pokaż pełny zakres wersji produktu erb
= 4.0.4>= 5.0.0, < 6.0.1.1>= 6.0.2, < 6.0.4
Producent:Red HatRed Hat Enterprise Linux 10Podatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 10
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.3.10-12.el10_1
  • Other source statuses: unaffected: ≥ 0:4.0.3-34.el10_2
Producent:Red HatRed Hat Enterprise Linux 10.0 Extended Update SupportPodatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 10.0 Extended Update Support
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.3.10-11.el10_0.1
Producent:Red HatRed Hat Enterprise Linux 8Podatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 8
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 8100020260428163940.489197e6
Producent:Red HatRed Hat Enterprise Linux 9Podatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 9
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 9070020260428163621.9
  • Other source statuses: unaffected: ≥ 0:3.0.7-166.el9_7
  • Other source statuses: unaffected: ≥ 9080020260513131334.9
Producent:Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP SolutionsPodatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.0.4-160.2.el9_0
Producent:Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP SolutionsPodatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.0.4-161.el9_2.3
Producent:Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP SolutionsPodatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.0.7-162.el9_4.2
  • Other source statuses: unaffected: ≥ 9040020260520083544.9
Producent:Red HatRed Hat Enterprise Linux 9.6 Extended Update SupportPodatne wersje:
Zakres nieokreślonyPokaż pełny zakres wersji produktu Red Hat Enterprise Linux 9.6 Extended Update Support
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:3.0.7-165.el9_6.1
  • Other source statuses: unaffected: ≥ 9060020260630075016.9
Producent:Red HatRed Hat CodeReady Linux Builder EUS (v.9.6)Podatne wersje:Źródło nie podaje zakresu wersji

1–10 z 51 · Strona 1 z 6

Oceny i parametry CVSS7
GitHub_M · CVE List / CNA (cna)Główna8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP · CVE List / CNA (adp)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Secondary)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
0b0ca135-0b70-47e7-9f44-1890c2a1c46c · NVD (Secondary)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2026-41316 · OSV (source-vector)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE · SUSE VEX (adp)8.1 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Niewymagane
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS opisuje dotkliwość, EPSS — prawdopodobieństwo wykorzystania. Brak potwierdzenia ataków nie oznacza braku zagrożenia.

Źródła i komunikaty23

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Źródła danych i licencje