Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-px54-yh8d-5bbc
Summarypython-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, signed targets file. The file extension is always .json. A fix is available in version 0.19 or newer. There are no workarounds that do not require code changes. Clients can restrict the allowed character set for rolenames, or they can store metadata in files named in a way that is not vulnerable: neither of these approaches is possible without modifying python-tuf.
Aliases
0
alias CVE-2021-41131
1
alias GHSA-wjw6-2cqr-j4qr
2
alias PYSEC-2021-376
Fixed_packages
0
url pkg:pypi/tuf@0.19.0
purl pkg:pypi/tuf@0.19.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.19.0
Affected_packages
0
url pkg:pypi/tuf@0.7.5
purl pkg:pypi/tuf@0.7.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.7.5
1
url pkg:pypi/tuf@0.9.8
purl pkg:pypi/tuf@0.9.8
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.9.8
2
url pkg:pypi/tuf@0.9.9
purl pkg:pypi/tuf@0.9.9
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.9.9
3
url pkg:pypi/tuf@0.10.0
purl pkg:pypi/tuf@0.10.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.10.0
4
url pkg:pypi/tuf@0.10.1
purl pkg:pypi/tuf@0.10.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.10.1
5
url pkg:pypi/tuf@0.10.2
purl pkg:pypi/tuf@0.10.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.10.2
6
url pkg:pypi/tuf@0.11.dev0
purl pkg:pypi/tuf@0.11.dev0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.dev0
7
url pkg:pypi/tuf@0.11.0
purl pkg:pypi/tuf@0.11.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.0
8
url pkg:pypi/tuf@0.11.1
purl pkg:pypi/tuf@0.11.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.1
9
url pkg:pypi/tuf@0.11.2.dev1
purl pkg:pypi/tuf@0.11.2.dev1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.2.dev1
10
url pkg:pypi/tuf@0.11.2.dev2
purl pkg:pypi/tuf@0.11.2.dev2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.2.dev2
11
url pkg:pypi/tuf@0.11.2.dev3
purl pkg:pypi/tuf@0.11.2.dev3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.11.2.dev3
12
url pkg:pypi/tuf@0.12.dev0
purl pkg:pypi/tuf@0.12.dev0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.dev0
13
url pkg:pypi/tuf@0.12.dev1
purl pkg:pypi/tuf@0.12.dev1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.dev1
14
url pkg:pypi/tuf@0.12.dev2
purl pkg:pypi/tuf@0.12.dev2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-m2sw-ms1a-zkb5
2
vulnerability VCID-px54-yh8d-5bbc
3
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.dev2
15
url pkg:pypi/tuf@0.12.0
purl pkg:pypi/tuf@0.12.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-px54-yh8d-5bbc
2
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.0
16
url pkg:pypi/tuf@0.12.1
purl pkg:pypi/tuf@0.12.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6tgx-mpvy-63ab
1
vulnerability VCID-px54-yh8d-5bbc
2
vulnerability VCID-q9jt-smnw-s3h9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.1
17
url pkg:pypi/tuf@0.12.2
purl pkg:pypi/tuf@0.12.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.12.2
18
url pkg:pypi/tuf@0.13.0
purl pkg:pypi/tuf@0.13.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.13.0
19
url pkg:pypi/tuf@0.14.0
purl pkg:pypi/tuf@0.14.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.14.0
20
url pkg:pypi/tuf@0.15.0
purl pkg:pypi/tuf@0.15.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.15.0
21
url pkg:pypi/tuf@0.16.0
purl pkg:pypi/tuf@0.16.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.16.0
22
url pkg:pypi/tuf@0.17.0
purl pkg:pypi/tuf@0.17.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.17.0
23
url pkg:pypi/tuf@0.18.0
purl pkg:pypi/tuf@0.18.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.18.0
24
url pkg:pypi/tuf@0.18.1
purl pkg:pypi/tuf@0.18.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-px54-yh8d-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/tuf@0.18.1
References
0
reference_url https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2021-376.yaml
reference_id
reference_type
scores
url https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2021-376.yaml
1
reference_url https://github.com/theupdateframework/python-tuf
reference_id
reference_type
scores
url https://github.com/theupdateframework/python-tuf
2
reference_url https://github.com/theupdateframework/python-tuf/commit/4ad7ae48fda594b640139c3b7eae21ed5155a102
reference_id
reference_type
scores
url https://github.com/theupdateframework/python-tuf/commit/4ad7ae48fda594b640139c3b7eae21ed5155a102
3
reference_url https://github.com/theupdateframework/python-tuf/issues/1527
reference_id
reference_type
scores
url https://github.com/theupdateframework/python-tuf/issues/1527
4
reference_url https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qr
reference_id
reference_type
scores
url https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qr
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-41131
reference_id CVE-2021-41131
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2021-41131
6
reference_url https://github.com/advisories/GHSA-wjw6-2cqr-j4qr
reference_id GHSA-wjw6-2cqr-j4qr
reference_type
scores
url https://github.com/advisories/GHSA-wjw6-2cqr-j4qr
Weaknesses
0
cwe_id 22
name Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
description The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_scorenull
Exploitabilitynull
Weighted_severitynull
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-px54-yh8d-5bbc