CVE-2023-0481: Resteasy reactive common RestEasy Reactive Implementation Of Quarkus Vulnerability
LOWCVE-2023-0481 is a LOW (CVSS 3.3) resteasy reactive implementation of quarkus vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Resteasy reactive common libraries in the Maven ecosystem. The issue involves resteasy reactive implementation of quarkus allows creation of temporary file with insecure permissions. Remediation is available by upgrading affected packages to version 3.0.0.Alpha4.
CVE-2023-0481 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2023-0481
To remediate this vulnerability, upgrade all affected Resteasy reactive common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.quarkus.resteasy.reactive</groupId>
<artifactId>resteasy-reactive-common</artifactId>
<version>3.0.0.Alpha4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-0481, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive
Analyze the terminal output to locate any version of Resteasy reactive common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0.Alpha4), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Resteasy reactive common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-0481 Affected Resteasy reactive common Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.quarkus.resteasy.reactive:resteasy-reactive-common
|
Maven |
< 3.0.0.Alpha4
|
3.0.0.Alpha4
|
References
Frequently Asked Questions
What is CVE-2023-0481?
Which Resteasy reactive common versions are affected?
What version fixes CVE-2023-0481?
Is resteasy-reactive-common affected?
What is the CVSS score of CVE-2023-0481?
What CWE is associated with CVE-2023-0481?
How can I check Maven dependencies for CVE-2023-0481?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j75r-vf64-6rrh",
"modified" : "2023-03-07T04:03:37Z",
"published" : "2023-02-24T18:30:25Z",
"aliases" : [ "CVE-2023-0481" ],
"summary" : "RestEasy Reactive implementation of Quarkus allows Creation of Temporary File With Insecure Permissions",
"details" : "In RestEasy Reactive implementation of Quarkus the insecure `File.createTempFile()` is used in the `FileBodyHandler` class which creates temp files with insecure permissions that could be read by a local user.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus.resteasy.reactive:resteasy-reactive-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.0.Alpha4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0481"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/pull/30694"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/commit/95d5904f7cf18c8165b97d8ca03b203d7f69c17e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quarkusio/quarkus"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-378", "CWE-668" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-24T19:55:15Z",
"nvd_published_at" : "2023-02-24T18:15:00Z"
}
}