diff --git a/advisories/github-reviewed/2023/02/GHSA-jrmh-v64j-mjm9/GHSA-jrmh-v64j-mjm9.json b/advisories/github-reviewed/2023/02/GHSA-jrmh-v64j-mjm9/GHSA-jrmh-v64j-mjm9.json index e78cfe6b151..22b09b31cad 100644 --- a/advisories/github-reviewed/2023/02/GHSA-jrmh-v64j-mjm9/GHSA-jrmh-v64j-mjm9.json +++ b/advisories/github-reviewed/2023/02/GHSA-jrmh-v64j-mjm9/GHSA-jrmh-v64j-mjm9.json @@ -1,13 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-jrmh-v64j-mjm9", - "modified": "2025-01-15T17:26:18Z", + "modified": "2025-01-15T18:56:33Z", "published": "2023-02-18T00:31:59Z", - "aliases": [ - "CVE-2023-0482" - ], - "summary": "Insecure Temporary File in RESTEasy", - "details": "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.", + "withdrawn": "2025-01-15T18:56:33Z", + "aliases": [], + "summary": "Duplicate Advisory: Insecure Temporary File in RESTEasy", + "details": "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2c6g-pfx3-w7h8. This link is maintained to preserve external references.\n\n# Original Description\nIn 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.", "severity": [ { "type": "CVSS_V3", diff --git a/advisories/github-reviewed/2025/01/GHSA-2c6g-pfx3-w7h8/GHSA-2c6g-pfx3-w7h8.json b/advisories/github-reviewed/2025/01/GHSA-2c6g-pfx3-w7h8/GHSA-2c6g-pfx3-w7h8.json new file mode 100644 index 00000000000..f08a13b8401 --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-2c6g-pfx3-w7h8/GHSA-2c6g-pfx3-w7h8.json @@ -0,0 +1,248 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-2c6g-pfx3-w7h8", + "modified": "2025-01-15T18:56:57Z", + "published": "2025-01-15T18:56:57Z", + "aliases": [ + "CVE-2023-0482" + ], + "summary": "Insecure Temporary File in RESTEasy", + "details": "### Impact\nIn 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.\n\n### Patches\nFixed in the following pull requests:\n\n* https://github.com/resteasy/resteasy/pull/3409 (7.0.0.Alpha1)\n* https://github.com/resteasy/resteasy/pull/3423 (6.2.3.Final)\n* https://github.com/resteasy/resteasy/pull/3412 (5.0.6.Final)\n* https://github.com/resteasy/resteasy/pull/3413 (4.7.8.Final)\n* https://github.com/resteasy/resteasy/pull/3410 (3.15.5.Final)\n\n### Workarounds\nThere is no workaround for this issue.\n\n### References\n* https://nvd.nist.gov/vuln/detail/CVE-2023-0482\n* https://bugzilla.redhat.com/show_bug.cgi?id=2166004\n* https://github.com/advisories/GHSA-jrmh-v64j-mjm9\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "6.0.0.Beta1" + }, + { + "fixed": "6.2.3.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "5.0.0.Alpha1" + }, + { + "fixed": "5.0.6.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.0.Beta1" + }, + { + "fixed": "4.7.8.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-multipart-provider" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "6.0.0.Beta1" + }, + { + "fixed": "6.2.3.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-multipart-provider" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "5.0.0.Alpha1" + }, + { + "fixed": "5.0.6.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-multipart-provider" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.0.Beta1" + }, + { + "fixed": "4.7.8.Final" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-multipart-provider" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3.15.5.Final" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "< 3.15.4.Final" + } + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.jboss.resteasy:resteasy-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3.15.5.Final" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "< 3.15.4.Final" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/security/advisories/GHSA-2c6g-pfx3-w7h8" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0482" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3409" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3410" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3412" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3413" + }, + { + "type": "WEB", + "url": "https://github.com/resteasy/resteasy/pull/3423" + }, + { + "type": "WEB", + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2166004" + }, + { + "type": "WEB", + "url": "https://github.com/orgs/resteasy/discussions/3415" + }, + { + "type": "WEB", + "url": "https://github.com/orgs/resteasy/discussions/3504" + }, + { + "type": "WEB", + "url": "https://github.com/orgs/resteasy/discussions/3506" + }, + { + "type": "PACKAGE", + "url": "https://github.com/resteasy/resteasy" + }, + { + "type": "WEB", + "url": "https://issues.redhat.com/browse/RESTEASY-3286" + }, + { + "type": "WEB", + "url": "https://security.netapp.com/advisory/ntap-20230427-0001" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-378" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-01-15T18:56:57Z", + "nvd_published_at": null + } +} \ No newline at end of file