Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/in-toto@1.4.0
Typepypi
Namespace
Namein-toto
Version1.4.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version2.0.0
Latest_non_vulnerable_version2.0.0
Affected_by_vulnerabilities
0
url VCID-s3zn-6xew-kqdy
vulnerability_id VCID-s3zn-6xew-kqdy
summary in-toto is a framework to protect supply chain integrity. The in-toto configuration is read from various directories and allows users to configure the behavior of the framework. The files are from directories following the XDG base directory specification. In versions 1.4.0 and prior, among the files read is `.in_totorc` which is a hidden file in the directory in which in-toto is run. If an attacker controls the inputs to a supply chain step, they can mask their activities by also passing in an `.in_totorc` file that includes the necessary exclude patterns and settings. RC files are widely used in other systems and security issues have been discovered in their implementations as well. Maintainers found in their conversations with in-toto adopters that `in_totorc` is not their preferred way to configure in-toto. As none of the options supported in `in_totorc` is unique, and can be set elsewhere using API parameters or CLI arguments, the maintainers decided to drop support for `in_totorc`. in-toto's `user_settings` module has been dropped altogether in commit 3a21d84f40811b7d191fa7bd17265c1f99599afd. Users may also sandbox functionary code as a security measure.
references
0
reference_url https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x
reference_id
reference_type
scores
url https://github.com/in-toto/docs/security/advisories/GHSA-p86f-xmg6-9q4x
1
reference_url https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd
reference_id
reference_type
scores
url https://github.com/in-toto/in-toto/commit/3a21d84f40811b7d191fa7bd17265c1f99599afd
2
reference_url https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf
reference_id
reference_type
scores
url https://github.com/in-toto/in-toto/security/advisories/GHSA-wc64-c5rv-32pf
3
reference_url https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
reference_id
reference_type
scores
url https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-32076
reference_id CVE-2023-32076
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-32076
5
reference_url https://github.com/advisories/GHSA-wc64-c5rv-32pf
reference_id GHSA-wc64-c5rv-32pf
reference_type
scores
url https://github.com/advisories/GHSA-wc64-c5rv-32pf
fixed_packages
0
url pkg:pypi/in-toto@2.0.0
purl pkg:pypi/in-toto@2.0.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/in-toto@2.0.0
aliases CVE-2023-32076, GHSA-p86f-xmg6-9q4x, GHSA-wc64-c5rv-32pf, PYSEC-2023-63
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-s3zn-6xew-kqdy
1
url VCID-zzen-tbce-9fg7
vulnerability_id VCID-zzen-tbce-9fg7
summary
in-toto: PGP trust model not (fully) considered
### Impact

This security advisory lists multiple concerns about how in-toto uses PGP keys. The findings are aggregated here, because they are all eligible to the same mitigation strategy. Note that the findings are rated with different severities (see inline) and the highest score was chosen for this advisory:

- **PGP Key Creation Time Not Validated** (severity: low)
 in-toto does not check, if the validity period of a PGP Key (starting with the key creation time) is in the future, when copying the key from GnuPG to a layout, or when verifying signatures. A validity period in the future is usually a sign of a wrong system clock, meaning it can’t be trusted for verifying the validity period. A MITM attacker who is able to manipulate delivered software products might also be able to control the system time by manipulating NTP. In a scenario where an attacker gained control over two expired subkeys with no overlapping validity period, the attacker could set the system time to a time before the validity period of either key, resulting in both keys being accepted.

- **PGP Key Revocation Not Considered** (severity: medium)
 in-toto does not check PGP revocation signatures, when copying the key from GnuPG to a layout, or when verifying signatures. This means that a key may still be accepted in signatures, even if it has been revoked in GnuPG.

- **PGP Key Usage Flags Not Considered** (severity: low)
 in-toto does not check PGP usage flags, when copying the key from GnuPG to a layout, or when verifying signatures. This means that at a key may still be accepted in signatures, even if it is not permitted to sign data as per its key usage flags.


Security auditors recommend to verify these properties at signature verification time.

However, this is not planned, as in-toto does not rely on PGP’s trust model, because it should not be required to consult with a separate PKI/web-of-trust at verification time. Instead the project owner establishes ultimate trust by adding a PGP public key to a layout, and thus is responsible for its validity, and also to revoke the layout, if the key is no longer trusted. The same is true for PGP public keys used to verify a layout.

The preferred mitigation strategy is to verify these properties when exporting a public key from GnuPG, and to clarify usage documentation that no verification against the PGP trust model is performed afterwards.

### References
- "Handle GPG revocation signatures" -- https://github.com/secure-systems-lab/securesystemslib/issues/190
- "inconsistent use of GnuPG" -- https://github.com/in-toto/in-toto/issues/569
references
0
reference_url https://github.com/in-toto/in-toto/issues/569
reference_id
reference_type
scores
url https://github.com/in-toto/in-toto/issues/569
1
reference_url https://github.com/secure-systems-lab/securesystemslib/issues/190
reference_id
reference_type
scores
url https://github.com/secure-systems-lab/securesystemslib/issues/190
2
reference_url https://github.com/advisories/GHSA-jjgp-whrp-gq8m
reference_id GHSA-jjgp-whrp-gq8m
reference_type
scores
url https://github.com/advisories/GHSA-jjgp-whrp-gq8m
3
reference_url https://github.com/in-toto/in-toto/security/advisories/GHSA-jjgp-whrp-gq8m
reference_id GHSA-jjgp-whrp-gq8m
reference_type
scores
url https://github.com/in-toto/in-toto/security/advisories/GHSA-jjgp-whrp-gq8m
fixed_packages
aliases GHSA-jjgp-whrp-gq8m, GMS-2023-1442
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-zzen-tbce-9fg7
Fixing_vulnerabilities
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/in-toto@1.4.0