CVE-2021-28100
JSON

5.5medium

Netflix/Priam: Temporary Directory Information Disclosure

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.27% (higher than 12% of CVEs)
Published
Last changed
Assigned by
netflix
Also known as
GHSA-f4jh-ww96-9h9j

Description

Priam uses File.createTempFile, which gives the permissions on that file -rw-r--r--. An attacker with read access to the local filesystem can read anything written there by the Priam process.

Affected

Product or packageVersionsReported by
Netflix OSS PriamAll versionsCVE List
com.netflix.priam:priam (Maven)up to 3.1.104GitHub Advisory Database
netflix priamNot specifiedNVD

All scores

GitHub6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

Priam uses File.createTempFile, which gives the permissions on that file -rw-r--r--. An attacker with read access to the local filesystem can read anything written there by the Priam process.

GitHub Advisory Database
Impact

When File.createTempFile creates a file, the permissions on that file are -rw-r--r--. This means that other users can read the contents of these files after they are written, although they can not modify the contents. This allows for local information disclosure if these files contain sensitive information.

Vulnerable locations:


The custom CodeQL queries leveraged to find these this as well as their results can be found here:

https://lgtm.com/query/1543383251073929777/ https://lgtm.com/query/3142895023158674709/

Official Disclosure

https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2021-002.md

Fix

There are no fixed versions.

NVD (es)

Priam usa File.createTempFile, que otorga los permisos en ese archivo -rw-r--r--. Un atacante con acceso de lectura al sistema de archivos local puede leer cualquier cosa escrita allí por el proceso Priam

References

Sources

SourceRecordLicence
CVE ListCVE-2021-28100 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4jh-ww96-9h9j changed 2023-11-08CC-BY-4.0
NVDCVE-2021-28100 changed 2026-06-17Public domain