Lucene search

K
amazonAmazonALAS-2024-2398
HistoryJan 03, 2024 - 9:04 p.m.

Medium: resteasy-base

2024-01-0321:04:00
alas.aws.amazon.com
9
resteasy
data confidentiality
vulnerability
resteasy up to 4.6.0.final
file.createtempfile()
cve-2021-20289
cve-2023-0482
amazon linux 2
yum update
security advisory
package update

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

6.4 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.001 Low

EPSS

Percentile

29.4%

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  

Additional References

Red Hat: CVE-2021-20289, CVE-2023-0482

Mitre: CVE-2021-20289, CVE-2023-0482

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

6.4 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.001 Low

EPSS

Percentile

29.4%