CVE-2023-4853 Quarkus: http security policy bypass

High 8.1 Published Updated

Attackers can bypass HTTP security policies in Quarkus to access unauthorized endpoints or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-4853?

CVE-2023-4853 is a high-severity vulnerability in Redhat Openshift Container Platform, published on 20 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-863, CWE-148

Which versions are affected by CVE-2023-4853?

24 open source packages ship an affected version, including io.quarkus:quarkus-csrf-reactive, io.quarkus:quarkus-keycloak-authorization and io.quarkus:quarkus-undertow. It affects 12 products.

PackageAffectedFixed in
io.quarkus:quarkus-csrf-reactive MavenAll versions2.16.11.Final
io.quarkus:quarkus-csrf-reactive MavenAll versions2.16.11.Final
io.quarkus:quarkus-csrf-reactive MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-csrf-reactive MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-csrf-reactive MavenFrom 3.3.03.3.3
io.quarkus:quarkus-csrf-reactive MavenFrom 3.3.03.3.3
18 more packages
io.quarkus:quarkus-keycloak-authorization MavenAll versions2.16.11.Final
io.quarkus:quarkus-keycloak-authorization MavenAll versions2.16.11.Final
io.quarkus:quarkus-keycloak-authorization MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-keycloak-authorization MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-keycloak-authorization MavenFrom 3.3.03.3.3
io.quarkus:quarkus-keycloak-authorization MavenFrom 3.3.03.3.3
io.quarkus:quarkus-undertow MavenAll versions2.16.11.Final
io.quarkus:quarkus-undertow MavenAll versions2.16.11.Final
io.quarkus:quarkus-undertow MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-undertow MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-undertow MavenFrom 3.3.03.3.3
io.quarkus:quarkus-undertow MavenFrom 3.3.03.3.3
io.quarkus:quarkus-vertx-http MavenAll versions2.16.11.Final
io.quarkus:quarkus-vertx-http MavenAll versions2.16.11.Final
io.quarkus:quarkus-vertx-http MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-vertx-http MavenFrom 3.0.03.2.6.Final
io.quarkus:quarkus-vertx-http MavenFrom 3.3.03.3.3
io.quarkus:quarkus-vertx-http MavenFrom 3.3.03.3.3
Linux distribution packages (1)
openshift-serverless-clients Red Hat:serverless:1.0::el8All versions0:1.9.2-3.el8

Products include Quarkus Quarkus, Redhat Build of Optaplanner, Redhat Build of Quarkus, Redhat Decision Manager, Redhat Integration Camel K, Redhat Integration Camel Quarkus and 6 more.

How do I fix CVE-2023-4853?

Upgrade io.quarkus:quarkus-csrf-reactive to a fixed version for your release line: 2.16.11.Final, 3.2.6.Final or 3.3.3.

Is CVE-2023-4853 being exploited?

There is no known exploitation of CVE-2023-4853 in the wild and no public exploit code.

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-4f4r-wgv2-jjvg, RHSA-2023:5479.

Is CVE-2023-4853 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free