Quarkus 3.33
Last reviewed Oct 9, 2026
Prompt Details
Prompt Composition
2prompts
- Java 21124 lines · 3.9K tokens
- Quarkus 3.3368 lines · 2.6K tokens
Total192 lines · 6.5K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 88
- 89
- 95
- 117
- 190
- 197
- 208
- 209
- 295
- 297
- 306
- 307
- 319
- 323
- 327
- 338
- 346
- 347
- 352
- 362
- 367
- 378
- 427
- 444
- 470
- 471
- 488
- 489
- 494
- 502
- 524
- 532
- 601
- 611
- 613
- 638
- 639
- 653
- 732
- 759
- 770
- 772
- 776
- 807
- 862
- 863
- 915
- 916
- 918
- 922
- 942
- 1333
- 1336
Prompt Preview
Apply the Java 21 baseline first. These rules cover Quarkus 3.33 LTS controls.
HTTP limits and proxy trust
- Keep
quarkus.http.limits.max-body-sizeat or below its 10 MiB default and set smaller route-specific limits before a handler buffers or parses a body. - Bound forms with
max-form-attribute-size,max-form-fields, andmax-form-buffered-bytes; values of-1disable the corresponding field-count or buffering limit. - Bound request lines, headers, parameters, multipart headers, connections, and HTTP/2 streams; the defaults do not provide practical connection or HTTP/2 stream budgets.
- Leave
quarkus.http.proxy.proxy-address-forwarding=falseunless a known reverse proxy strips client-supplied forwarding headers. - When forwarding is enabled, set
quarkus.http.proxy.trusted-proxiesto exact IP/CIDR ranges: an absent list trusts every proxy, and hostnames cause DNS lookups on requests.
WebSockets Next
- Secure protected WebSockets Next upgrades with
@Authenticatedor@RolesAllowedon the endpoint class; annotations only on callbacks leave the upgrade unprotected. Authorize each message's operation and tenant or object access separately. For browser clients, requirewssand reject untrustedOriginvalues before upgrade, usingHttpUpgradeCheck.perform()when custom checks are needed. - Set
quarkus.websockets-next.server.max-frame-sizeandmax-message-sizeto application-sized byte limits. Keep serial inbound processing unless bounded application concurrency is enforced;InboundProcessingMode.CONCURRENTsupplies no concurrency limit. - On