Wysoka

Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin

  • Ujawniono: 19.10.2022
  • Aktualizacja: 11.10.2026 11:21

Script Security Plugin provides a sandbox feature that allows low privileged users to define scripts, including Pipelines, that are generally safe to execute. Calls to code defined inside a sandboxed script are intercepted, and various allowlists are checked to determine whether the call is to be allowed.

Multiple sandbox bypass vulnerabilities exist in Script Security Plugin and Pipeline: Groovy Plugin:

  • In Script Security Plugin 1183.v774b_0b_0a_a_451 and earlier and in Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier, various casts performed implicitly by the Groovy language runtime were not intercepted by the sandbox. This includes casts performed when returning values from methods, when assigning local variables, fields, properties, and when defining default arguments for closure, constructor, and method parameters (CVE-2022-43401 in Script Security Plugin and CVE-2022-43402 in Pipeline: Groovy Plugin).
  • In Script Security Plugin 1183.v774b_0b_0a_a_451 and earlier, when casting an array-like value to an array type, per-element casts to the component type of the array are not intercepted by the sandbox (CVE-2022-43403).
  • In Script Security Plugin 1183.v774b_0b_0a_a_451 and earlier, crafted constructor bodies and calls to sandbox-generated synthetic constructors can be used to construct any subclassable type (due to an incomplete fix for SECURITY-1754 in the 2020-03-09 security advisory) (CVE-2022-43404).

These vulnerabilities allow attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.\n\nThese vulnerabilities have been fixed:

  • Script Security Plugin 1184.v85d16b_d851b_3 and Pipeline: Groovy Plugin 2803.v1a_f77ffcc773 intercept Groovy casts performed implicitly by the Groovy language runtime (CVE-2022-43401 in Script Security Plugin and CVE-2022-43402 in Pipeline: Groovy Plugin).
  • Script Security Plugin 1184.v85d16b_d851b_3 intercepts per-element casts when casting array-like values to array types (CVE-2022-43403).
  • Script Security Plugin 1184.v85d16b_d851b_3 rejects improper calls to sandbox-generated synthetic constructors (CVE-2022-43404).

Both plugins, Script Security Plugin and Pipeline: Groovy Plugin must be updated simultaneously. While Script Security Plugin could be updated independently, doing so would cause errors in Pipeline: Groovy Plugin due to an incompatible API change.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Java / Kotlin (Maven) org.jenkins-ci.plugins:script-security < 1184.v85d16b_d851b_3 1184.v85d16b_d851b_3
Java / Kotlin (Maven) org.jenkins-ci.plugins.workflow:workflow-cps < 2803.v1a_f77ffcc773 2803.v1a_f77ffcc773

Odnośniki

Ocena CVSS 8.8/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Słabość (CWE)
CWE-693
Platforma
Java / Kotlin (Maven)
Paczka
org.jenkins-ci.plugins:script-security, org.jenkins-ci.plugins.workflow:workflow-cps
Ujawniono
19.10.2022
Aktualizacja
11.10.2026 11:21

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-7vr5-72w7-q6jc - CC BY 4.0

Historia podatności: org.jenkins-ci.plugins:script-security

Wszystkie opisane podatności tej paczki (Java / Kotlin (Maven)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (37) w archiwum
Wszystkich wpisów
37
Pierwsza → ostatnia
05.2022 06.2026
Bez poprawki
0
Wykorzystywana w atakach
1

Rozkład istotności

  • Krytyczna 5
  • Wysoka 22
  • Średnia 10

Ujawnienia w latach

  1. 2022: 30
  2. 2023: 1
  3. 2024: 3
  4. 2025: 0
  5. 2026: 3
Istotność:
  1. Wysoka · 7.5 CVE-2026-57281 < 1402.1405.vc96e74964250 1402.1405.vc96e74964250
  2. Wysoka · 8.8 CVE-2026-57280 < 1402.1405.vc96e74964250 1402.1405.vc96e74964250
  3. Wysoka · 8.8 CVE-2024-34145 < 1336.vf33a 1336.vf33a
  4. Wysoka · 8.8 CVE-2023-24422 < 1229.v4880b 1229.v4880b
  5. Wysoka · 8.0 CVE-2022-45379 < 1190.v65867a_a_47126 1190.v65867a_a_47126
  6. Krytyczna · 9.9 CVE-2022-43403 < 1184.v85d16b_d851b_3 1184.v85d16b_d851b_3
  7. Wysoka · 8.8 CVE-2022-43404 < 1184.v85d16b_d851b_3 1184.v85d16b_d851b_3
  8. Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin ten wpis
    Wysoka · 8.8 CVE-2022-43401 < 1184.v85d16b_d851b_3 1184.v85d16b_d851b_3
  9. Krytyczna · 9.9 CVE-2020-2279 >= 1.67, < 1.75, < 1.66.5 1.75, 1.66.5
  10. Wysoka · 8.8 CVE-2020-2135 < 1.71 1.71
  11. Wysoka · 8.8 CVE-2020-2134 < 1.7.1 1.7.1
  12. Wysoka · 8.8 CVE-2020-2110 < 1.70 1.70
  13. Wysoka · 8.8 CVE-2019-16538 < 1.68 1.68
  14. Wysoka · 8.8 CVE-2019-10355 < 1.62 1.62
  15. Wysoka · 8.8 CVE-2018-1000865 < 1.48 1.48
  16. Wysoka · 8.8 CVE-2018-1000866 < 1.48 1.48
  17. Wysoka · 8.8 CVE-2017-1000107 < 1.31 1.31
  18. Wysoka · 8.8 CVE-2019-1003024 < 1.53 1.53
  19. Wysoka · 8.8 CVE-2019-1003001 < 1.50 1.50
  20. Wysoka · 8.8 CVE-2019-1003000 < 1.50 1.50
  21. Krytyczna · 9.8 CVE-2019-1003040 < 1.56 1.56
  22. Krytyczna · 9.9 Wykorzystywana w atakach CVE-2019-1003029 < 1.54 1.54
  23. Wysoka · 8.8 CVE-2019-1003005 < 1.51 1.51

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.