ALAS-2024-2398

Related Vulnerabilities: CVE-2021-20289   CVE-2023-0482  

A flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final. The endpoint class and method names are returned as part of the exception response when RESTEasy cannot convert one of the request URI path or query values to the matching JAX-RS resource method's parameter value. The highest threat from this vulnerability is to data confidentiality. (CVE-2021-20289) In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user. (CVE-2023-0482)

ALAS-2024-2398


Amazon Linux 2 Security Advisory: ALAS-2024-2398
Advisory Release Date: 2024-01-03 21:04 Pacific
Advisory Updated Date: 2024-01-09 17:52 Pacific
Severity: Medium

Issue Overview:

A flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final. The endpoint class and method names are returned as part of the exception response when RESTEasy cannot convert one of the request URI path or query values to the matching JAX-RS resource method's parameter value. The highest threat from this vulnerability is to data confidentiality. (CVE-2021-20289)

In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user. (CVE-2023-0482)


Affected Packages:

resteasy-base


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
"Run yum update resteasy-base to update your system.
"

New Packages:
noarch:
    resteasy-base-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-javadoc-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jaxrs-api-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-providers-pom-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-atom-provider-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jackson-provider-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jaxb-provider-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jaxrs-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jaxrs-all-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-jettison-provider-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-tjws-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-client-3.0.6-4.amzn2.0.1.noarch
    resteasy-base-resteasy-pom-3.0.6-4.amzn2.0.1.noarch

src:
    resteasy-base-3.0.6-4.amzn2.0.1.src