CVE-2023-4853Quarkus: http security policy bypass
A flaw was found in Quarkus where HTTP security policies are not sanitizing certain character permutations correctly when accepting requests, resulting in incorrect evaluation of permissions. This issue could allow an attacker to bypass the security policy altogether, resulting in unauthorized endpoint access and possibly a denial of service.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | io.quarkus:quarkus-csrf-reactive | Fixed | 3.2.6.Final | GHSA-4f4r-wgv2-jjvg |
| Maven library | io.quarkus:quarkus-keycloak-authorization | Fixed | 3.2.6.Final | GHSA-4f4r-wgv2-jjvg |
| Maven library | io.quarkus:quarkus-undertow | Fixed | 3.3.3 | GHSA-4f4r-wgv2-jjvg |
| Maven library | io.quarkus:quarkus-vertx-http | Fixed | 2.16.11.Final | GHSA-4f4r-wgv2-jjvg |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Openshift Serverless 1 on RHEL 8
- Red Hat build of OptaPlanner 8
- Red Hat build of Quarkus 2.13.8.SP2
- Red Hat Camel Extensions for Quarkus 2.13.3-1
- Red Hat OpenShift Serverless 1.30
- Red Hat RHEL-8 based Middleware Containers
- Red Hat RHINT Camel-K-1.10.2
- Red Hat RHINT Service Registry 2.5.4 GA
- Red Hat RHPAM 7.13.4 async
- Red Hat build of Quarkus
Workaround: Use a ‘deny’ wildcard for base paths, then authenticate specifics within that: Examples: ``` deny: /* authenticated: /services/* ``` or ``` deny: /services/* roles-allowed: /services/rbac/* ``` NOTE: Products are only vulnerable if they use (or allow use of) path-based HTTP policy configuration. Products may also be affected–shipping the component in question–without being vulnerable (“affected at reduced impact”). See https://access.redhat.com/security/vulnerabilities/RHSB-2023-002 for more detailed mitigations.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2023:5170 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2023:5310 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2023:5337 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2023:5446 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2023:5479 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2023:5480 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2023:5170
- https://access.redhat.com/errata/RHSA-2023:5310
- https://access.redhat.com/errata/RHSA-2023:5337
- https://access.redhat.com/errata/RHSA-2023:5446
- https://access.redhat.com/errata/RHSA-2023:5479
- https://access.redhat.com/errata/RHSA-2023:5480
- https://access.redhat.com/errata/RHSA-2023:6107
- https://access.redhat.com/errata/RHSA-2023:6112
- https://access.redhat.com/errata/RHSA-2023:7653
- https://access.redhat.com/security/cve/CVE-2023-4853
- https://access.redhat.com/security/vulnerabilities/RHSB-2023-002
- https://bugzilla.redhat.com/show_bug.cgi?id=2238034
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.