Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/35928?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35928?format=api",
    "vulnerability_id": "VCID-ms6u-hkex-63dm",
    "summary": "vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. In versions before 3.0.0 vault-cli features the ability for rendering templated values. When a secret starts with the prefix `!template!`, vault-cli interprets the rest of the contents of the secret as a Jinja2 template. Jinja2 is a powerful templating engine and is not designed to safely render arbitrary templates. An attacker controlling a jinja2 template rendered on a machine can trigger arbitrary code, making this a Remote Code Execution (RCE) risk. If the content of the vault can be completely trusted, then this is not a problem. Otherwise, if your threat model includes cases where an attacker can manipulate a secret value read from the vault using vault-cli, then this vulnerability may impact you. In 3.0.0, the code related to interpreting vault templated secrets has been removed entirely. Users are advised to upgrade as soon as possible. For users unable to upgrade a workaround does exist. Using the environment variable `VAULT_CLI_RENDER=false` or the flag `--no-render` (placed between `vault-cli` and the subcommand, e.g. `vault-cli --no-render get-all`) or adding `render: false` to the vault-cli configuration yaml file disables rendering and removes the vulnerability. Using the python library, you can use: `vault_cli.get_client(render=False)` when creating your client to get a client that will not render templated secrets and thus operates securely.",
    "aliases": [
        {
            "alias": "CVE-2021-43837"
        },
        {
            "alias": "GHSA-q34h-97wf-8r8j"
        },
        {
            "alias": "PYSEC-2021-853"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25869?format=api",
            "purl": "pkg:pypi/vault-cli@3.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@3.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25830?format=api",
            "purl": "pkg:pypi/vault-cli@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25831?format=api",
            "purl": "pkg:pypi/vault-cli@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25832?format=api",
            "purl": "pkg:pypi/vault-cli@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25833?format=api",
            "purl": "pkg:pypi/vault-cli@0.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25834?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25835?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25836?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25837?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25838?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25839?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25840?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25841?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25842?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25843?format=api",
            "purl": "pkg:pypi/vault-cli@0.3.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.3.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25844?format=api",
            "purl": "pkg:pypi/vault-cli@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25845?format=api",
            "purl": "pkg:pypi/vault-cli@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25846?format=api",
            "purl": "pkg:pypi/vault-cli@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25847?format=api",
            "purl": "pkg:pypi/vault-cli@0.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25848?format=api",
            "purl": "pkg:pypi/vault-cli@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25849?format=api",
            "purl": "pkg:pypi/vault-cli@0.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25850?format=api",
            "purl": "pkg:pypi/vault-cli@0.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25851?format=api",
            "purl": "pkg:pypi/vault-cli@0.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25852?format=api",
            "purl": "pkg:pypi/vault-cli@0.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25853?format=api",
            "purl": "pkg:pypi/vault-cli@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25854?format=api",
            "purl": "pkg:pypi/vault-cli@0.12.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.12.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25855?format=api",
            "purl": "pkg:pypi/vault-cli@0.13.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@0.13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25856?format=api",
            "purl": "pkg:pypi/vault-cli@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25857?format=api",
            "purl": "pkg:pypi/vault-cli@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25858?format=api",
            "purl": "pkg:pypi/vault-cli@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25859?format=api",
            "purl": "pkg:pypi/vault-cli@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25860?format=api",
            "purl": "pkg:pypi/vault-cli@1.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25861?format=api",
            "purl": "pkg:pypi/vault-cli@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25862?format=api",
            "purl": "pkg:pypi/vault-cli@1.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25863?format=api",
            "purl": "pkg:pypi/vault-cli@1.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25864?format=api",
            "purl": "pkg:pypi/vault-cli@1.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25865?format=api",
            "purl": "pkg:pypi/vault-cli@1.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@1.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25866?format=api",
            "purl": "pkg:pypi/vault-cli@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25867?format=api",
            "purl": "pkg:pypi/vault-cli@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25868?format=api",
            "purl": "pkg:pypi/vault-cli@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ms6u-hkex-63dm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/vault-cli@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/peopledoc/vault-cli",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/peopledoc/vault-cli"
        },
        {
            "reference_url": "https://github.com/peopledoc/vault-cli/commit/3ba3955887fd6b7d4d646c8b260f21cebf5db852",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/peopledoc/vault-cli/commit/3ba3955887fd6b7d4d646c8b260f21cebf5db852"
        },
        {
            "reference_url": "https://github.com/peopledoc/vault-cli/pull/198",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/peopledoc/vault-cli/pull/198"
        },
        {
            "reference_url": "https://github.com/peopledoc/vault-cli/releases/tag/3.0.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/peopledoc/vault-cli/releases/tag/3.0.0"
        },
        {
            "reference_url": "https://github.com/peopledoc/vault-cli/security/advisories/GHSA-q34h-97wf-8r8j",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/peopledoc/vault-cli/security/advisories/GHSA-q34h-97wf-8r8j"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/vault-cli/PYSEC-2021-853.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/vault-cli/PYSEC-2021-853.yaml"
        },
        {
            "reference_url": "https://podalirius.net/en/publications/grehack-2021-optimizing-ssti-payloads-for-jinja2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://podalirius.net/en/publications/grehack-2021-optimizing-ssti-payloads-for-jinja2"
        },
        {
            "reference_url": "https://podalirius.net/en/publications/grehack-2021-optimizing-ssti-payloads-for-jinja2/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://podalirius.net/en/publications/grehack-2021-optimizing-ssti-payloads-for-jinja2/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43837",
            "reference_id": "CVE-2021-43837",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43837"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q34h-97wf-8r8j",
            "reference_id": "GHSA-q34h-97wf-8r8j",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-q34h-97wf-8r8j"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 74,
            "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
            "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component."
        },
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        },
        {
            "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."
        },
        {
            "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_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ms6u-hkex-63dm"
}