Affected by GO-2022-0878
and 1 other vulnerabilities
GO-2022-0878: Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone in github.com/rclone/rclone
GO-2026-4964: Rclone: Unauthenticated options/set allows runtime auth bypass, leading to sensitive operations and command execution in github.com/rclone/rclone
OpenFile is the generalized open call; most users will use Open or Create
instead. It opens the named file with specified flag (O_RDONLY etc.) and
perm (before umask), if applicable. If successful, methods on the returned
File can be used for I/O. If there is an error, it will be of type
*PathError.
Under both Unix and Windows this will allow open files to be
renamed and or deleted.
Create creates the named file with mode 0666 (before umask), truncating
it if it already exists. If successful, methods on the returned
File can be used for I/O; the associated file descriptor has mode
O_RDWR.
If there is an error, it will be of type *PathError.
Open opens the named file for reading. If successful, methods on
the returned file can be used for reading; the associated file
descriptor has mode O_RDONLY.
If there is an error, it will be of type *PathError.