2 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...
5.8AI score
SaveExploits0References3Affected Software1
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...
8.8CVSS5.9AI score0.0145EPSS
SaveExploits0References2
20