Lucene search

K
huntrSrikanthprathi9853E557-346C-4AD2-9203-B8D2FC9BE471
HistoryJan 05, 2022 - 3:29 p.m.

Insecure Temporary File in tensorflow/tensorflow

2022-01-0515:29:56
srikanthprathi
www.huntr.dev
13
tensorflow
insecure
tempfile
mkstemp
availability
bugbounty

EPSS

0

Percentile

5.1%

Description

tensorflow package is using the deprecated function tempfile.mktemp() which is not secure. Because a different process may create a file with this name in the time between the call to mktemp() and the subsequent attempt to create the file by the first process.

Impact

Availability will get effected because of this vulnerability.

Recommendation

Use mkstemp() instead of tempfile.mktemp()

EPSS

0

Percentile

5.1%

Related for 9853E557-346C-4AD2-9203-B8D2FC9BE471