Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8642?format=api",
    "purl": "pkg:pypi/python-gnupg@0.3.6",
    "type": "pypi",
    "namespace": "",
    "name": "python-gnupg",
    "version": "0.3.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.4.4",
    "latest_non_vulnerable_version": "0.4.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34927?format=api",
            "vulnerability_id": "VCID-6tr1-kb26-r7de",
            "summary": "python-gnupg 0.3.5 and 0.3.6 allows context-dependent attackers to have an unspecified impact via vectors related to \"option injection through positional arguments.\" NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.",
            "references": [
                {
                    "reference_url": "https://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/2014-June/028512.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/2014-June/028512.html"
                },
                {
                    "reference_url": "https://code.google.com/archive/p/python-gnupg/issues/98",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/archive/p/python-gnupg/issues/98"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/245",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/245"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/335",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/335"
                },
                {
                    "reference_url": "http://secunia.com/advisories/59031",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/59031"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vcr5-xr9h-mvc5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vcr5-xr9h-mvc5"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-92.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-92.yaml"
                },
                {
                    "reference_url": "https://github.com/vsajip/python-gnupg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vsajip/python-gnupg"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200228170437/http://www.securityfocus.com/bid/65539",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200228170437/http://www.securityfocus.com/bid/65539"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2014/02/04/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2014/02/04/3"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2014/02/04/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2014/02/04/4"
                },
                {
                    "reference_url": "http://www.debian.org/security/2014/dsa-2946",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2014/dsa-2946"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1929",
                    "reference_id": "CVE-2014-1929",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1929"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8643?format=api",
                    "purl": "pkg:pypi/python-gnupg@0.3.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8tpq-e3eq-nkg2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-gnupg@0.3.7"
                }
            ],
            "aliases": [
                "CVE-2014-1929",
                "GHSA-vcr5-xr9h-mvc5",
                "PYSEC-2014-92"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6tr1-kb26-r7de"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35331?format=api",
            "vulnerability_id": "VCID-8tpq-e3eq-nkg2",
            "summary": "python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended. To perform the attack, the passphrase to gnupg must be controlled by the adversary and the ciphertext should be trusted. Related to a \"CWE-20: Improper Input Validation\" issue affecting the affect functionality component.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html"
                },
                {
                    "reference_url": "http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html"
                },
                {
                    "reference_url": "https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability/"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6690",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6690"
                },
                {
                    "reference_url": "https://cwe.mitre.org/data/definitions/20.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cwe.mitre.org/data/definitions/20.html"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2fch-jvg5-crf6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2fch-jvg5-crf6"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qh62-ch95-63wh",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qh62-ch95-63wh"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/"
                },
                {
                    "reference_url": "https://pypi.org/project/python-gnupg/#history",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/python-gnupg/#history"
                },
                {
                    "reference_url": "https://seclists.org/bugtraq/2019/Jan/41",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://seclists.org/bugtraq/2019/Jan/41"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3964-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3964-1/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106756",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106756"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6690",
                    "reference_id": "CVE-2019-6690",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6690"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13112?format=api",
                    "purl": "pkg:pypi/python-gnupg@0.4.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-gnupg@0.4.4"
                }
            ],
            "aliases": [
                "CVE-2019-6690",
                "GHSA-2fch-jvg5-crf6",
                "GHSA-qh62-ch95-63wh",
                "PYSEC-2019-115"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8tpq-e3eq-nkg2"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34928?format=api",
            "vulnerability_id": "VCID-b2jz-99kc-nbay",
            "summary": "The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using \"$(\" command-substitution sequences, a different vulnerability than CVE-2014-1928.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.",
            "references": [
                {
                    "reference_url": "https://bitbucket.org/vinay.sajip/python-gnupg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bitbucket.org/vinay.sajip/python-gnupg"
                },
                {
                    "reference_url": "https://code.google.com/p/python-gnupg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg"
                },
                {
                    "reference_url": "https://code.google.com/p/python-gnupg/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg/"
                },
                {
                    "reference_url": "https://code.google.com/p/python-gnupg/issues/detail?id=98",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg/issues/detail?id=98"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/245",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/245"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/294",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/294"
                },
                {
                    "reference_url": "http://secunia.com/advisories/56616",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/56616"
                },
                {
                    "reference_url": "http://secunia.com/advisories/59031",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/59031"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r3vr-prwv-86g9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r3vr-prwv-86g9"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml"
                },
                {
                    "reference_url": "http://www.debian.org/security/2014/dsa-2946",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2014/dsa-2946"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1927",
                    "reference_id": "CVE-2014-1927",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1927"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8642?format=api",
                    "purl": "pkg:pypi/python-gnupg@0.3.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6tr1-kb26-r7de"
                        },
                        {
                            "vulnerability": "VCID-8tpq-e3eq-nkg2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-gnupg@0.3.6"
                }
            ],
            "aliases": [
                "CVE-2014-1927",
                "GHSA-r3vr-prwv-86g9",
                "PYSEC-2014-90"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b2jz-99kc-nbay"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34929?format=api",
            "vulnerability_id": "VCID-cf9j-gygd-2qa3",
            "summary": "The shell_quote function in python-gnupg 0.3.5 does not properly escape characters, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using \"\\\" (backslash) characters to form multi-command sequences, a different vulnerability than CVE-2014-1927.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.",
            "references": [
                {
                    "reference_url": "https://code.google.com/p/python-gnupg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg"
                },
                {
                    "reference_url": "https://code.google.com/p/python-gnupg/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg/"
                },
                {
                    "reference_url": "https://code.google.com/p/python-gnupg/issues/detail?id=98",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/python-gnupg/issues/detail?id=98"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/246",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/246"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q1/294",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q1/294"
                },
                {
                    "reference_url": "http://secunia.com/advisories/56616",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/56616"
                },
                {
                    "reference_url": "http://secunia.com/advisories/59031",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/59031"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2jc8-4r6g-282j",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2jc8-4r6g-282j"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml"
                },
                {
                    "reference_url": "http://www.debian.org/security/2014/dsa-2946",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2014/dsa-2946"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1928",
                    "reference_id": "CVE-2014-1928",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1928"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8642?format=api",
                    "purl": "pkg:pypi/python-gnupg@0.3.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6tr1-kb26-r7de"
                        },
                        {
                            "vulnerability": "VCID-8tpq-e3eq-nkg2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-gnupg@0.3.6"
                }
            ],
            "aliases": [
                "CVE-2014-1928",
                "GHSA-2jc8-4r6g-282j",
                "PYSEC-2014-91"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cf9j-gygd-2qa3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-gnupg@0.3.6"
}