Home / Vulnerability Database / Python : Race condition of type TOCTOU
Python

Python : Race condition of type TOCTOU

Overview

A “TOCTOU” attack is possible.
Application may be vulnerable to this attack type due to use of standard paths to temporary files, for example:

  • /tmp
  • /var/tmp
  • /dev/shm
  • etc

Another reason may be the use of unsafe methods like os.tempnam() and os.tmpnam().

MEDIUM

DerScanner Severity Score

Do you want to fix Python : Race condition of type TOCTOU in your application?

See also

Python

Python : Debug mode on

Python

Python : Web3: Deprecated method

Python

Python : Unsafe padding