Wiz가 Google Cloud에 합류: 함께 마법을 만드는 것

CVE-2026-114938: 
Amazon Corretto JDK 취약점 분석 및 완화

개요

CVE-2026-114938, dubbed Java4Shell, is a heap-based buffer overflow (out-of-bounds write) vulnerability in the HotSpot JVM's AVX-512 VBMI-optimized Base64 decoder intrinsic. It affects Oracle Java SE (versions 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3, 27.0.1.0.3), Oracle GraalVM for JDK (17.0.21.0.3, 21.0.13.0.3), and Oracle GraalVM Enterprise Edition (21.3.20.0.3), as well as downstream distributions including Amazon Corretto, Eclipse Temurin, Red Hat OpenJDK, Azul Zulu, and BellSoft Liberica. The vulnerability was discovered by Quang Luong of Calif.io and disclosed on November 17, 2026, coinciding with Oracle's November 2026 Critical Security Patch Update. It carries a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 base score of 9.2 (Critical) (Oracle Advisory, Red Hat Bugzilla).

기술적 세부사항

The root cause is a length-underflow bug in the AVX-512 VBMI-accelerated Base64 decode stub (stubGenerator_x86_64.cpp) in HotSpot's C2 JIT compiler. When the JVM JIT-compiles the java.util.Base64.getDecoder().decode() path after sufficient warm-up calls (~5,000–200,000 invocations), the optimized intrinsic fails to properly bounds-check the tail of a specially crafted padded Base64 input (e.g., 64 or 128 'A' characters followed by '='), causing a 62-byte out-of-bounds write past the destination buffer on the JVM heap (CWE-122, CWE-787). This is classified as CAPEC-92 (Forced Integer Overflow). The vulnerability is only exploitable on x86-64 CPUs with AVX-512 VBMI and BMI2 support (Intel Ice Lake/Sapphire Rapids/Emerald Rapids/Granite Rapids; AMD EPYC/Ryzen Zen 4+) and only when the JIT has compiled the Base64 intrinsic. Exploitation requires supplying attacker-controlled data to a Base64-decoding API — such as through an HTTP Authorization header — without requiring Untrusted Java Web Start or applets (Oracle Advisory, Red Hat Bugzilla, Openwall oss-sec).

영향

Successful exploitation can result in complete takeover of the affected Java SE or GraalVM instance — achieving high confidentiality, integrity, and availability impact — including arbitrary code execution in the context of the JVM process, heap memory disclosure ("JavaBleed"), and denial of service via JVM crash. Applications verified as pre-auth RCE in default configurations include Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate; Elasticsearch was reported as post-auth. The broad deployment of Java across enterprise infrastructure means the blast radius is significant, with potential for lateral movement from compromised Java services to adjacent systems. Downstream products from IBM (API Connect, DataPower), Siemens (Siveillance Control, Industrial Edge Management), Palo Alto Networks (Idira products), and many others are also affected (Oracle Advisory, Palo Alto Networks, Red Hat Bugzilla).

악용 가능성

Multiple public proof-of-concept repositories appeared on GitHub within hours of disclosure, including crash/DoS harnesses, heap-corruption demonstrators, and claimed RCE chains targeting Spring Boot, Keycloak, Jenkins, and Elasticsearch (GitHub PoC, GitHub exploit). Feedly's threat intelligence confirms exploitation attempts were observed in the wild, with honeypot data showing Base64 payload spraying against Jenkins endpoints. The Artex offensive AI framework was reported to have weaponized the vulnerability. The EPSS score is approximately 0.0073 (0.73%), reflecting the high attack complexity (AVX-512 hardware requirement, JIT warm-up precondition). CISA issued an urgent advisory urging immediate patching. No CISA KEV catalog entry was confirmed in the available data, but exploitation attempts were reported by multiple sources including Qualys ThreatProtect and Gurucul (Feedly, Openwall oss-sec).

착취 단계

  1. Reconnaissance: Identify internet-facing Java services (Keycloak, Jenkins, Jira, Confluence, Spring Boot, etc.) running on x86-64 hosts with AVX-512 VBMI support. Use Shodan/Censys to find exposed endpoints; check /proc/cpuinfo for avx512f, avx512bw, avx512vbmi, and bmi2 flags on target hosts.
  2. Version fingerprinting: Confirm the target runs an affected JDK build (OpenJDK 17.0.6–17.0.21.0.3, 21.0.0–21.0.13.0.3, 25.0.0–25.0.5.0.3, or 27.0.0–27.0.1.0.3) via HTTP response headers, error pages, or version endpoints.
  3. JIT warm-up: Send 5,000–25,000 valid HTTP requests with a legitimate Base64-encoded Authorization header (e.g., Authorization: Basic base64(user:pass)) to the target's authentication endpoint. This forces the JVM's C2 compiler to JIT-compile the AVX-512 Base64 intrinsic path.
  4. Heap grooming: Send target-specific HTTP requests (varying client_id sizes for Keycloak, custom headers for Jenkins/Spring Boot) to shape the JVM's Thread-Local Allocation Buffer (TLAB) so that a decode buffer is allocated adjacent to a security-relevant heap object.
  5. Trigger the overflow: Send a single HTTP request with a malformed Authorization header: Authorization: Basic + 'A'*64 + '=' (JDK 21/25/27) or 'A'*128 + '=' (JDK 17). The AVX-512 intrinsic writes 62 bytes past the 50-byte destination buffer, corrupting the adjacent heap object.
  6. Detect and exploit: Analyze the HTTP response for indicators of heap corruption (non-ASCII bytes, Java class names in response body, 5xx errors, connection resets). If a security-relevant object (e.g., an authorization role field) is corrupted, the application may grant elevated access or execute attacker-supplied commands.
  7. Post-exploitation: Use the foothold for lateral movement, credential theft from heap-disclosed memory, or further privilege escalation within the compromised JVM process (Feedly, Openwall oss-sec).

타협의 징후

  • Network: Repeated HTTP requests to authentication endpoints (e.g., /realms/master/protocol/openid-connect/token, /api/json, /api/run) with Authorization: Basic headers containing 65 or 129 bytes of repeated 'A' characters followed by '='; sudden spike in 5xx responses or connection resets from Java services; outbound connections from Java service hosts to unknown IPs.
  • Logs: Java application logs showing IllegalArgumentException or ArrayIndexOutOfBoundsException from java.util.Base64; JVM crash logs (hs_err_pid*.log) with SIGSEGV in the Base64 decode stub or V [libjvm.so] frames; access logs showing high-volume repeated requests to auth endpoints followed by a single anomalous request.
  • File System: Unexpected hs_err_pid*.log files in the application working directory; new files written to unexpected paths (e.g., /tmp/j4s_remote_pwned.txt, java4shell_pwned.txt); modified cron entries or scheduled tasks created by the JVM service account.
  • Process: Unusual child processes spawned by the Java process (e.g., sh, bash, curl, wget, id); JVM process consuming abnormal memory or crashing and restarting repeatedly.
  • Payload signatures: HTTP request bodies or Authorization headers matching the pattern AAAA...AAAA= (64 or 128 'A' characters + '='); URL-encoded variants (%41%41...%3D) of the same pattern in query parameters or POST bodies (Feedly, Red Hat Bugzilla).

완화 및 우회 방법

Primary remediation: Upgrade to the fixed JDK builds released in Oracle's November 2026 CSPU — Oracle Java SE 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1; Red Hat Build of OpenJDK 17.0.21.1, 21.0.13.1, 25.0.5.1 (via RHSA-2026:100563 through RHSA-2026:100573); Amazon Corretto and Eclipse Temurin November 2026 releases. Immediate workarounds (apply only on x86-64 hosts; do NOT apply -XX:UseAVX=2 on ARM): (1) Add -XX:-UseBASE64Intrinsics to JVM startup flags to disable the vulnerable hardware-accelerated path, or (2) Add -XX:UseAVX=2 to cap AVX usage below AVX-512. WAF/virtual patching: Cloudflare, AWS WAF, Azure WAF, and CrowdSec released emergency rules blocking the malformed Base64 trigger pattern. Container/image rebuilds: Rebuild all container images using affected base JDK images. Inventory: Audit for bundled JVMs in third-party applications (Elasticsearch, Kafka, Jenkins, etc.) and follow each vendor's update path (Oracle Advisory, Red Hat Bugzilla, Palo Alto Networks).

커뮤니티 반응

The vulnerability generated massive industry attention, with the name "Java4Shell" trending immediately after disclosure. Oracle credited Quang Luong of Calif.io, which disclosed the flaw after reportedly finding it using an AI agent (GPT-6/Codex) in approximately one hour for under $200 — a detail widely covered by The New York Times, The Verge, CyberScoop, BleepingComputer, and The Hacker News. CISA, Canada's CCCS, South Korea's KISA, and New Zealand's NCSC all issued urgent advisories urging immediate patching. Security researchers on Mastodon, Bluesky, and X debated the real-world exploitability given the AVX-512 hardware requirement and JIT warm-up precondition, with Malwarebytes and watchTowr characterizing it as "a critical flaw with a narrow reach" due to the specific CPU and JIT conditions required. Multiple vendors including Red Hat, IBM, Siemens, Palo Alto Networks, Elastic, Jenkins, Keycloak, and JetBrains published product-specific advisories within 24–48 hours. The AI-assisted discovery angle sparked broader discussion about the role of AI in offensive security research (Feedly, Openwall oss-sec).

추가 리소스

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Debian

수정됨

bookworm

openjdk-17: 17.0.21.1+2-1~deb12u1

수정됨

sid

openjdk-27: 27.0.1.1+4-1

수정됨

trixie

openjdk-25: 25.0.5.1+2-1~deb13u1

수정됨

Ubuntu

수정됨

bionic (esm-apps)

openjdk-17: 17.0.21.1+2-1~18.04.1

수정됨

bionic (esm-infra)

openjdk-lts

영향 없음

devel

openjdk-17: 17.0.21.1+2-1

영향을 받음

focal (esm-apps)

openjdk-17: 17.0.21.1+2-1~20.04.1

수정됨

focal (esm-infra)

openjdk-lts

영향 없음

jammy

openjdk-17: 17.0.21.1+2-1~22.04.1

수정됨

jammy (esm-apps)

openjdk-17: 17.0.21.1+2-1~22.04.1

수정됨

noble

openjdk-17: 17.0.21.1+2-1~24.04.1

수정됨

RHEL / CentOS

수정됨

RHEL 7

영향 없음

RHEL 8

:appstream:java-1:17-openjdk-17.0.21.1.2-2.1.el8.src

수정됨

RHEL 9

:appstream:java-1:17-openjdk-17.0.21.1.2-2.1.el9.src

수정됨

RHEL 10

java-1:21-openjdk-21.0.13.1.2-1.1.el10.src

수정됨

Alpine

수정됨

edge

openjdk17: 17.0.21.1_p2-r0, 21.0.13.1_p2-r0, 25.0.5.1_p2-r0

수정됨

v3.23

openjdk17: 17.0.21.1_p2-r0, 21.0.13.1_p2-r0, 25.0.5.1_p2-r0

수정됨

소스: 이 보고서는 AI를 사용해 생성되었습니다

관련 Amazon Corretto JDK 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-114943MEDIUM6.5
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-25-openjdk-slowdebug
아니요네Nov 17, 2026
CVE-2026-114944MEDIUM5.9
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-21-openjdk-devel-fastdebug
아니요네Nov 17, 2026
CVE-2026-114945MEDIUM5.3
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • openjdk-8
아니요네Nov 17, 2026
CVE-2026-114946MEDIUM4.8
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-17-openjdk-src-fastdebug
아니요네Nov 17, 2026
CVE-2026-114947LOW3.7
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • cpe:2.3:a:oracle:jre
아니요네Nov 17, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자