{"id":"CVE-2021-28099","aliases":["CVE-2021-28099","GHSA-9295-mhf3-v33m"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure temporary file in Netflix OSS Hollow","summary":"In Netflix OSS Hollow, since the Files.exists(parent) is run before creating the directories, an attacker can pre-create these directories with wide permissions. Additionally, since an insecure source of randomness is used, the file names to be created can be deterministically calculated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Netflix OSS Hollow, since the Files.exists(parent) is run before creating the directories, an attacker can pre-create these directories with wide permissions. Additionally, since an insecure source of randomness is used, the file names to be created can be deterministically calculated.","source":"cvelist"},{"lang":"en","text":"> ID: NFLX-2021-001\n> Title: Local information disclosure in Hollow\n> Release Date: 2021-03-23\n> Credit: Security Researcher @JLLeitschuh\n\n# Overview\n\nSecurity researcher @JLLeitschuh reported that Netflix Hollow (a Netflix OSS project available here: https://github.com/Netflix/hollow) writes to a local temporary directory before validating the permissions on it.\n\n# Impact\n\nAn attacker with the ability to create directories and set permissions on the local filesystem could pre-create this directory and read or modify anything written there by the Hollow process.\n\n# Description\n\nSince the `Files.exists(parent)` is run before creating the directories, an attacker can pre-create these directories with wide permissions. Additionally, since an insecure source of randomness is used, the file names to be created can be deterministically calculated.\n\n# Workarounds and Fixes\n\nAvoid running Hollow in configurations that share a filesystem with less-trusted processes. May be fixed in a future release.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Netflix OSS Hollow, dado que Files.exists(parent) se ejecuta antes de crear los directorios, un atacante puede crear previamente estos directorios con amplios permisos.&#xa0;Además, dado que se utiliza una fuente no segura de aleatoriedad, los nombres de archivo que se crearán se pueden calcular de forma determinista","source":"nvd"}],"published":"2021-03-23T20:28:52.000Z","modified":"2026-06-17T03:45:48.640Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","score":3.6,"rating":"LOW"}],"cwes":["CWE-330","CWE-377"],"affected":[{"ranges":[{"version":"All versions","status":"affected"}],"product":"Netflix OSS Hollow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"6.1.0"}],"ecosystem":"Maven","package":"com.netflix.hollow:hollow","purl":"pkg:maven/com.netflix.hollow/hollow","source":"ghsa"},{"ranges":[],"vendor":"netflix","product":"hollow","cpe":"cpe:2.3:a:netflix:hollow:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2021-001.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-j83w-7qr9-wv86","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28099","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Netflix/hollow/issues/502","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"netflix","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28099","url":"https://www.cve.org/CVERecord?id=CVE-2021-28099","licence":"CVE Terms of Use","modified":"2024-08-03T21:33:17.497Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9295-mhf3-v33m","url":"https://github.com/advisories/GHSA-9295-mhf3-v33m","licence":"CC-BY-4.0","modified":"2024-02-16T08:10:15.734Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28099","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28099","licence":"Public domain","modified":"2026-06-17T03:45:48.640Z"}],"updatedAt":"2026-11-25T22:58:00.398Z","epss":{"score":0.00251,"percentile":0.17688,"date":"2026-12-01T12:00:22.000Z"}}