cvedb.io
CVE-2021-41131
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2021-10-19T18:15:07.967 · Last modified 2026-06-17T04:07:56.143

Summary

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 `get_one_valid_targetinfo()`. It occurs because the rolename is used to form the filename, and may contain path traversal characters (ie `../../name.json`). The impact is mitigated by a few facts: It only affects implementations that allow arbitrary rolename selection for delegated targets metadata, The attack requires the ability to A) insert new metadata for the path-traversing role and B) get the role delegated by an existing targets metadata, The written file content is heavily restricted since it needs to be a valid

Affected products

linuxfoundation — the_update_framework

Does this affect you?

Add your gear to cvedb and we'll alert you only when linuxfoundation ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.