Openshift Serverless 1 on RHEL 8: Incorrect Authorization
CVE-2023-4853 is a high-severity incorrect authorization vulnerability in Openshift Serverless 1 on RHEL 8 from Red Hat, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 2.28% chance of exploitation within 30 days, higher than 83% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Quarkus to 2.16.11 or 3.2.6 or 3.3.3, whichever matches your release line, or a later version.
- Update Build Of Quarkus to 2.13.8 or a later version.
- Update Integration Camel K to 1.10.2 or a later version.
- Read the advisory on access.redhat.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Openshift Serverless 1 on RHEL 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat build of OptaPlanner 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat build of Quarkus 2.13.8.SP2 | Not specified in the record | Not stated |
| Red Hat | Red Hat Camel Extensions for Quarkus 2.13.3-1 | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift Serverless 1.30 | Not specified in the record | Not stated |
| Red Hat | RHEL-8 based Middleware Containers | Not specified in the record | Not stated |
| Red Hat | RHINT Camel-K-1.10.2 | Not specified in the record | Not stated |
| Red Hat | RHINT Service Registry 2.5.4 GA | Not specified in the record | Not stated |
| Red Hat | RHPAM 7.13.4 async | Not specified in the record | Not stated |
| Red Hat | Red Hat build of Quarkus | Not specified in the record | Not stated |
| Red Hat | Red Hat Integration Camel Quarkus 2 | Not specified in the record | Not stated |
| Red Hat | Red Hat Process Automation 7 | Not specified in the record | Not stated |
| Quarkus | Quarkus | before 2.16.11; 3.2.0 up to, but not including, 3.2.6; 3.3.0 up to, but not including, 3.3.3 | 2.16.11, 3.2.6, 3.3.3 |
| Red Hat | Build Of Optaplanner | 8.0 | Not stated |
| Red Hat | Build Of Quarkus | 2.13.0 up to, but not including, 2.13.8 | 2.13.8 |
| Red Hat | Decision Manager | 7.0 | Not stated |
| Red Hat | Integration Camel K | before 1.10.2 | 1.10.2 |
| Red Hat | Integration Camel Quarkus | Not specified in the record | Not stated |
| Red Hat | Integration Service Registry | Not specified in the record | Not stated |
| Red Hat | Jboss Middleware | 1 | Not stated |
| Red Hat | Jboss Middleware Text-only Advisories | 1.0 | Not stated |
| Red Hat | Openshift Serverless | 1.0 | Not stated |
| Red Hat | Process Automation Manager | 7.0 | Not stated |
| Red Hat | Openshift Container Platform | 4.10; 4.11; 4.12 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | CNA (redhat.com) |
| CVSS 3.1 | 8.1 | High | NVD |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Authorization
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
How developers prevent this class of flaw
- Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using authorization frameworks such as the JAAS Authorization Framework and the OWASP ESAPI Access Control feature.
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Advisories
- access.redhat.com/errata/RHSA-2023:5170
- access.redhat.com/errata/RHSA-2023:5310
- access.redhat.com/errata/RHSA-2023:5337
- access.redhat.com/errata/RHSA-2023:5446
- access.redhat.com/errata/RHSA-2023:5479
- access.redhat.com/errata/RHSA-2023:5480
- access.redhat.com/errata/RHSA-2023:6107
- access.redhat.com/errata/RHSA-2023:6112
- access.redhat.com/errata/RHSA-2023:7653
- access.redhat.com/security/cve/CVE-2023-4853Mitigation
- access.redhat.com/security/vulnerabilities/RHSB-2023-002Exploit, Mitigation, Technical Description
- bugzilla.redhat.com/show_bug.cgi?id=2238034Issue Tracking
Recent Incorrect Authorization vulnerabilities
- 7.5 High severity
- 9.8 Critical severity
- 7.1 High severity
- 7.5 High severity
- 9.8 Critical severity
- 7.5 High severity
Spotted an error? Tell us.