You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading Go, use the new os.Root type in places like the Receiver (tsdb.path), Compactor (conf.dataDir), Sidecar (tsdb.path) to prevent accidentally using some other paths.
The text was updated successfully, but these errors were encountered:
In compactor, can there be a case of accidental access of some other parts? as based on --data-dir flag we create are creating directories like compactor or downsample if they dont already exist.
Or is it to prevent any future modifications from accidentally introducing path traversal?
Yes, the point of using them is so that in the future accidentally we wouldn't introduce some vulnerability where someone with malicious input could create directories anywhere or do some other manipulations.
After upgrading Go, use the new os.Root type in places like the Receiver (tsdb.path), Compactor (conf.dataDir), Sidecar (tsdb.path) to prevent accidentally using some other paths.
The text was updated successfully, but these errors were encountered: