VYPR

CWE-378

Creation of Temporary File With Insecure Permissions

BaseDraftLikelihood: High

Description

Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (50)

page 3 of 3
  • CVE-2023-0481LowFeb 24, 2023
    risk 0.14cvss 3.3epss 0.00

    In RestEasy Reactive implementation of Quarkus the insecure File.createTempFile() is used in the FileBodyHandler class which creates temp files with insecure permissions that could be read by a local user.

  • CVE-2024-47884LowOct 11, 2024
    risk 0.09cvss epss 0.00

    foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view…

  • CVE-2026-46388MedJul 10, 2026
    risk 0.00cvss 4.4epss 0.00

    osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, an unprivileged attacker can read the contents of an osquery file carve until the carve completes and the temporary files are deleted because in-progress carve…

  • CVE-2023-0482MedFeb 17, 2023
    risk 0.00cvss 5.5epss 0.01

    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-21430MedMay 10, 2021
    risk 0.00cvss 6.2epss 0.00

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Using `File.createTempFile` in JDK will result in creating and using insecure temporary files that can leave…

  • CVE-2021-21428CriMay 10, 2021
    risk 0.00cvss 9.3epss 0.00

    Openapi generator is a java tool which allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. openapi-generator-online creates insecure temporary folders with File.createTempFile during the…

  • CVE-2021-21429MedApr 27, 2021
    risk 0.00cvss 4.0epss 0.00

    OpenAPI Generator allows generation of API client libraries, server stubs, documentation and configuration automatically given an OpenAPI Spec. Using `File.createTempFile` in JDK will result in creating and using insecure temporary files that can leave application and system…

  • CVE-2021-28168MedApr 22, 2021
    risk 0.00cvss 6.2epss 0.01

    Eclipse Jersey 2.28 to 2.33 and Eclipse Jersey 3.0.0 to 3.0.1 contains a local information disclosure vulnerability. This is due to the use of the File.createTempFile which creates a file inside of the system temporary directory with the permissions: -rw-r--r--. Thus the…

  • CVE-2021-29428HigApr 13, 2021
    risk 0.00cvss 8.8epss 0.01

    In Gradle before version 7.0, on Unix-like systems, the system temporary directory can be created with open permissions that allow multiple users to create and delete files within it. Gradle builds could be vulnerable to a local privilege escalation from an attacker quickly…

  • CVE-2014-1839Mar 11, 2014
    risk 0.00cvss epss 0.00

    The Execute class in shellutils in logilab-commons before 0.61.0 uses tempfile.mktemp, which allows local users to have an unspecified impact by pre-creating the temporary file.