Submit

Back to the channels

#java

  1. * vincere quit (Quit: FREAKSHELLS - https://www.freakshells.net)
  2. * vincere joined #java
  3. * sojuus3r quit (Remote host closed the connection)
  4. * sojuus3r joined #java
  5. * silla123 joined #java
  6. silla123 hello
  7. * wontzer quit (Read error: Connection reset by peer)
  8. * stfstfm joined #java
  9. * silla123 left #java
  10. * johnjay quit (Ping timeout: 269 seconds)
  11. * stfstfm quit (Ping timeout: 242 seconds)
  12. * pebble joined #java
  13. * lcja quit (Quit: Leaving)
  14. * luca0N joined #java
  15. * stfstfm joined #java
  16. * Betal quit (Quit: WeeChat 4.10.3)
  17. * MikeBux joined #java
  18. * MikeBux quit (Client Quit)
  19. * lostlazy quit (Quit: Konversation terminated!)
  20. * lostlazy joined #java
  21. * Inline quit (Ping timeout: 259 seconds)
  22. * Bhyve joined #java
  23. * Inline joined #java
  24. * johnjay joined #java
  25. * Drixtan quit (Remote host closed the connection)
  26. jbosmans Java RCE if the server cpu supports avx512 https://calif.io/java4shell
  27. nevet Java4Shell: Write once, RCE everywhere
  28. * enoq joined #java
  29. enoq looking at the latest java4shell vulnerability, there are no eclipse temurin docker images available yet, correct?
  30. enoq what version does 25.0.5_8 correspond to?
  31. enoq I suppose 25.0.5+8 which is not 25.0.5.1
  32. jbosmans it's pretty fresh so i think the images and temurin itself still needs to be updated. For vuln systems I'd look into the mitigations to switch from avx512 to avx2 support
  33. Para Add -XX:-UseBASE64Intrinsics to your JVM opts by whatever mechanism works for your case, redeploy, onwards to next CVE.
  34. Para Specifically this requires the AVX-512 VBMI instruction which is quite rare in reality, rough estimate is that only about 15-20% of CPUs out there even have it, and it's entirely possible cloud service providers haven't enabled it in hypervisor settings anyway, so the attack surface to mitigate is very confusing.
  35. [twisti] 'quite rare' ... '20%'
  36. [twisti] well i certainly relaxed, probably wont even bother to look into it
  37. Para That 20% includes AMD Zen4 and Zen5 processors, which are mostly home user CPUs.
  38. * Drixtan joined #java
  39. enoq thank you
  40. sonOfRa I've switched a bunch of systems to - XX:UseAVX=2 instead of wholly disabling intrinsics. With java -XX:+PrintFlagsFinal -version, you can quickly find out if the system you're on supports avx512- there will be a UseAVX value of 3 in the output somewhere. If it says 2, or nothing at all, at least that particular jvm on your system is unaffected
  41. enoq sonOfRa: so you expect there to be more avx issues?
  42. sonOfRa No, it's a tradroff. My workload in this case is keycloak and due to the whole jwt deal it does a lot of base64 - so disabling base64 acceleration probably loses me more than falling back to avx2 for everything
  43. sonOfRa I'll see in my cpu metrics after a day or two. Performance might even improve, because avx512 is not always actually a speedup due to silly cpu architecture reasons
  44. deebo yeah was just about to ask what minor version does temurins 25.0.5+8 correspond to, is it still vulnerable?
  45. enoq deebo: still vulnerable
  46. deebo https://github.com/adoptium/adoptium-support/issues/1575 yep
  47. nevet ETA for Temurin 25 and 21 releases fixing CVE-2026-114938 (Base64 intrinsic memory corruption, "Java4Shell") · Issue #1575 · adoptium/adoptium-support
  48. sonOfRa enoq: first 2 hours of production workload show no statistically significant performance deviation from our 30 day mean after setting useavx=2
  49. sonOfRa YMMV
  50. Para It's also somewhat framework dependent if you even hit the native base64 path. Run something old/backwards compatible enough and it uses e.g. Commons Codec instead.
  51. * Bhyve quit (Quit: WeeChat 4.10.4)
  52. * pebble|2 joined #java
  53. * pebble quit (Ping timeout: 246 seconds)
  54. * Candle quit (Ping timeout: 247 seconds)
  55. * Candle joined #java
  56. * michele quit (Quit: Leaving)
  57. deebo also requires 4 cpu features to be available, those are reserved for slop agents, not to run real software!
  58. * Bhyve joined #java
  59. enoq had a look at some claude generated java code recently btw
  60. enoq loads of while and for loops with break and continue statements
  61. enoq refactoring took as long as implementing the feature from scratch
  62. * GreenResponse joined #java
  63. dreamreal enoq: that sounds like whoever was driving did a poor job
  64. deebo yeah needs more handholding for style, or a checker tool that says no
  65. deebo should finally setup spotless and some static analyzer
  66. deebo sonarqube was a lifesaver until they decided they wont support java>8 in the "free" version
  67. * EthanHunt joined #java
  68. * jink quit (Quit: reboot, brb)
  69. * hwpplayer1 joined #java
  70. * wontzer joined #java
  71. * jink joined #java
  72. * Soulcatcher joined #java
  73. * ztevoz joined #java
  74. * MikeBux joined #java
  75. * fstd quit (Ping timeout: 253 seconds)
  76. * fstd joined #java
  77. * ramontjunior1 joined #java
  78. * ramontjunior quit (Ping timeout: 259 seconds)
  79. * ramontjunior1 is now known as ramontjunior
  80. * Nixkernal quit (Remote host closed the connection)
  81. * Nixkernal joined #java
  82. * Nixkernal quit (Remote host closed the connection)
  83. * Nixkernal joined #java
  84. * mwnaylor left #java (ERC 5.6.2.31.1 (IRC client for GNU Emacs 31.1.50))
  85. * pebble|2 quit (Read error: Connection reset by peer)
  86. * Nixkernal quit (Remote host closed the connection)
  87. * fgarcia quit (Read error: Connection reset by peer)
  88. * fgarcia joined #java
  89. * Nixkernal joined #java
  90. * Bhyve quit (Quit: WeeChat 4.10.4)
  91. * nevet joined #java
  92. * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
  93. * raj joined #java
  94. * EthanHunt quit (Quit: Connection closed for inactivity)
  95. * Candle quit (Ping timeout: 259 seconds)
  96. * Candle joined #java
  97. * iwtga578 joined #java
  98. * iwtga578 is now known as iwtga57
  99. * enoq quit (Ping timeout: 247 seconds)
  100. * raj quit
  101. * m joined #java
  102. * Zapek quit (Quit: bye)
  103. * Zapek joined #java
  104. * Bhyve joined #java
  105. * johnjay quit (Ping timeout: 256 seconds)
  106. * johnjay joined #java
  107. * stfstfm_ joined #java
  108. * stfstfm quit (Ping timeout: 259 seconds)
  109. * Drixtan left #java
  110. cheeser deebo: spotless is great. i have it autowired in to my build cycles.
  111. * michele joined #java
  112. * michele quit (Read error: Connection reset by peer)
  113. * stfstfm joined #java
  114. * michele joined #java
  115. dreamreal I do too
  116. dreamreal cheeser: what happened to javabot? Should I unmute nevet?
  117. * stfstfm_ quit (Ping timeout: 263 seconds)
  118. sonOfRa pmd+spotless as a pre-commit hook works wonders to rein in claude
  119. * sonOfRa quit (Quit: K-Lined)
  120. * sonOfRa joined #java
  121. Optic i just checked all our physical servers against the cpu capabilities required for java4shell, and we don't own a single one with avx512 :P
  122. Optic we have a couple with bmi2
  123. * magla joined #java
  124. Optic sometimes shit old hardware is a win??
  125. dreamreal all of our deployed servers are technically vulnerable but don't expose endpoints that would provide easy ingress. So naturally we're sure we're invulnerable! *sigh* (We're deploying with the flag even so. "invulnerable" is a descriptor that only means "we don't know the ingress yet.")
  126. Optic i'm going to wait for the November patch cycle to release and calmly deploy that everywhere
  127. * fdp quit (Read error: Connection reset by peer)
  128. dreamreal We just deployed new images with the flags in place
  129. * fdp joined #java
  130. dreamreal coretto images are already patched but they're 120+ MB larger than temurin and we don't rely on the base64 decoding enough for it to impact us negatively
  131. Optic all our stuff is in spring-boot containers, so when liberica pubs the new versions it will just be a CI trigger + deploy to update
  132. Para Just in time for the next CVE, nested KVMs.
  133. * wontzer left #java
  134. Zapek where did oracle hide the graalvm with the base64 fix...
  135. dreamreal right there behind the paywall!
  136. * kreechy quit (Quit: ZNC 1.9.0+deb2ubuntu0.1~esm2 - https://znc.in)
  137. Para Hm, I should probably slap pmd+spotless+whatever else into my template repo.
  138. cheeser dreamreal: restarting it now
  139. dreamreal cheeser: I tried to start it yesterday but it was apparently unsuccessful
  140. * creechy joined #java
  141. * cheeser quit (Ping timeout: 262 seconds)
  142. * Betal joined #java
  143. * cheeser joined #java
  144. * javabot joined #java
  145. * Bhyve quit (Quit: WeeChat 4.10.4)
  146. * Betal quit (Quit: WeeChat 4.10.3)
  147. * Betal joined #java
  148. deebo proper enterprise java is on java8 and thus invulnerable
  149. * dreamreal snrks
  150. Para And definitely not on x86 derivatives.
  151. Para (that's too new)
  152. Para ((my Hetzner VM is protected because its CPU is ancient and doesn't support any AVX))
  153. * jreicher quit (Quit: In transit)
  154. * xeno quit (Quit: Textual IRC Client: www.textualapp.com)
  155. dreamreal cheeser: what happened when I tried to start it?
  156. * comrad quit (Quit: https://quassel-irc.org - Komfortabler Chat. Überall.)
  157. * comrad joined #java
  158. * stfstfm_ joined #java
  159. * stfstfm quit (Ping timeout: 263 seconds)
  160. * hwpplayer1 quit (Ping timeout: 241 seconds)
  161. * hwpplayer1 joined #java
  162. * wontzer joined #java
  163. * magla quit (Ping timeout: 245 seconds)
  164. * jreicher joined #java
  165. * ztevoz quit (Quit: ztevoz)
  166. * hwpplayer1 quit (Quit: I'll be back later Take care)
  167. * whaley quit (Quit: ron)
  168. * moon-watcher joined #java
  169. * moon-watcher quit (Quit: leaving)
  170. * stfstfm_ quit (Read error: Connection reset by peer)
  171. * stfstfm joined #java
  172. nimaje deebo: but at least some java8 versions are vulnerable, oracle says oracle java se 8u511b33-perf is vulnerable. No idea if any other as well, or why they just call out that specific version, is that just their currently supported java8 version? Does anyone else still support some java8 version?
  173. * MikeBux quit (Quit: Never look down on someone unless you're helping them up.)
  174. * Soulcatcher quit (Quit: WeeChat 4.1.1)
  175. * tronexte quit (Ping timeout: 248 seconds)
  176. * fgarcia quit (Ping timeout: 255 seconds)
  177. * wontzer quit (Ping timeout: 251 seconds)
  178. * fgarcia joined #java
  179. * wontzer joined #java
  180. * fgarcia quit (Max SendQ exceeded)
  181. * fgarcia joined #java
  182. * stfstfm quit (Ping timeout: 268 seconds)
  183. cheeser dreamreal: i didn't see anything about that.
  184. dreamreal *nod* I started it and waiting for a few minutes and it never showed up here, didn't do any triage
  185. * Candle quit (Ping timeout: 266 seconds)
  186. * Candle joined #java
  187. * tronexte joined #java
  188. * tronexte quit (Ping timeout: 264 seconds)
  189. * Ragnor quit (Ping timeout: 252 seconds)
  190. * Ragnor joined #java
  191. * tronexte joined #java
  192. * tronexte quit (Remote host closed the connection)
  193. * GreenResponse quit (Quit: Leaving)
  194. sbalmos dreamreal: maybe it's like Python where if you're missing something, it just silently does nothing on startup. :D
  195. * five618480339176 joined #java
  196. * xeno joined #java
  197. * tronexte joined #java
  198. * tronexte quit (Ping timeout: 277 seconds)
  199. * tronexte joined #java
  200. * tronexte quit (Ping timeout: 264 seconds)
  201. * ilux quit (Ping timeout: 251 seconds)
  202. * ilux joined #java
  203. * tronexte joined #java
  204. * kmh quit (Quit: Leaving)
  205. * tronexte quit (Ping timeout: 246 seconds)
  206. * monkeyPlus joined #java
  207. * monkeyPlus quit (Remote host closed the connection)
  208. * kmh joined #java
  209. * BarnabasDK quit (Ping timeout: 273 seconds)
  210. * BarnabasDK joined #java
  211. * Exa quit (Ping timeout: 264 seconds)
  212. * Exa joined #java
  213. * cation quit (Remote host closed the connection)
  214. * cation joined #java
  215. * tronexte joined #java
  216. * michele quit (Read error: Connection reset by peer)
  217. * michele joined #java
  218. * MrHAPPY joined #java
  219. * JazzJackalope quit (Ping timeout: 265 seconds)
  220. * Square quit (Ping timeout: 247 seconds)
  221. * Square joined #java
  222. * Square quit (Read error: Connection reset by peer)

Search posts