CVE-2023-0482

Source
https://cve.org/CVERecord?id=CVE-2023-0482
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-0482.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-0482
Aliases
Downstream
Published
2023-02-17T00:00:00Z
Modified
2026-07-08T02:02:22.116476956Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

Database specific
{
    "cwe_ids": [
        "CWE-378"
    ],
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0482.json"
}
References

Affected packages

Git / github.com/resteasy/resteasy

Affected ranges

Type
GIT
Repo
https://github.com/resteasy/resteasy
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ],
    "extracted_events": [
        {
            "introduced": "Fixed in RESTEasy 4.7.8.Final"
        },
        {
            "last_affected": "Fixed in RESTEasy 4.7.8.Final"
        },
        {
            "introduced": "3.15.4"
        },
        {
            "last_affected": "3.15.4"
        },
        {
            "introduced": "4.7.7"
        },
        {
            "last_affected": "4.7.7"
        },
        {
            "introduced": "5.0.5"
        },
        {
            "last_affected": "5.0.5"
        },
        {
            "introduced": "6.2.2"
        },
        {
            "last_affected": "6.2.2"
        }
    ],
    "cpe": [
        "cpe:2.3:a:redhat:resteasy:3.15.4:*:*:*:*:*:*:*",
        "cpe:2.3:a:redhat:resteasy:4.7.7:*:*:*:*:*:*:*",
        "cpe:2.3:a:redhat:resteasy:5.0.5:*:*:*:*:*:*:*",
        "cpe:2.3:a:redhat:resteasy:6.2.2:*:*:*:*:*:*:*"
    ]
}

Affected versions

3.*
3.15.4
4.*
4.7.7
4.7.8.Final
5.*
5.0.5
6.*
6.2.2
Fixed in RESTEasy 4.*
Fixed in RESTEasy 4.7.8.Final

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-0482.json"