Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-0482: 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-2021-20289: 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.
Fixed packages 13
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | resteasy-base | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-atom-provider | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-client | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jackson-provider | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-javadoc | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jaxb-provider | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jaxrs | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jaxrs-all | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jaxrs-api | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-jettison-provider | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-providers-pom | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-resteasy-pom | 0:3.0.6-4.amzn2.0.1 |
| Amazon Linux · 2 | resteasy-base-tjws | 0:3.0.6-4.amzn2.0.1 |
Vulnerabilities 2
-
Medium 5.5CVE-2023-0482 Public exploit
Insecure Temporary File in RESTEasy
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.
-
Medium 5.3
Exposure of class information in RESTEasy
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 reso…