Description
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.
Remediation
References
https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2021-001.md
Related Vulnerabilities
CVE-2019-14862 Vulnerability in maven package org.webjars.bowergithub.knockout:knockout
CVE-2022-35131 Vulnerability in npm package joplin
CVE-2023-0674 Vulnerability in maven package com.xuxueli:xxl-job-core
CVE-2017-16078 Vulnerability in npm package shadowsock
CVE-2019-1003082 Vulnerability in maven package org.jenkins-ci.plugins:gearman-plugin