3 matches found
tuf has platform-dependent delegation path matching
DelegatedRole.istargetinpathpattern uses fnmatch.fnmatch to decide whether a given target path is authorized by a delegation's glob pattern. Python's fnmatch.fnmatch calls os.path.normcase on both arguments before matching. On POSIX hosts normcase is the identity function; on Windows hosts os.pat...
CVE-2021-41131
python-tuf is a Python reference implementation of The Update Framework TUF. In both clients "tuf/client" and "tuf/ngclient", there is a path traversal vulnerability that in the worst case can overwrite files ending in ".json" anywhere on the client system on a call to "getonevalidtargetinfo". It...
CVE-2021-41131: Improper Limitation of a Pathname to a Restricted Directory
python-tuf is a Python reference implementation of The Update Framework TUF. In both clients tuf/client and tuf/ngclient, there is a path traversal vulnerability that in the worst case can overwrite files ending in .json anywhere on the client system on a call to getonevalidtargetinfo. It occurs...