Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15531?format=api",
    "vulnerability_id": "VCID-njnr-ngu6-7qdv",
    "summary": "OpenStack Swift Unchecked user input in XML responses\nXML injection vulnerability in account/utils.py in OpenStack Swift Folsom, Grizzly, and Havana allows attackers to trigger invalid or spoofed Swift responses via an account name.",
    "aliases": [
        {
            "alias": "CVE-2013-2161"
        },
        {
            "alias": "GHSA-9xgv-6v35-mmcj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940312?format=api",
            "purl": "pkg:deb/debian/swift@1.8.0-6?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@1.8.0-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1049493?format=api",
            "purl": "pkg:deb/debian/swift@2.2.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1k44-tzfw-pkhw"
                },
                {
                    "vulnerability": "VCID-4k1g-3b3h-1fbz"
                },
                {
                    "vulnerability": "VCID-4wxz-pgew-5uc4"
                },
                {
                    "vulnerability": "VCID-cczb-m9jq-wbb2"
                },
                {
                    "vulnerability": "VCID-qsxb-qjb1-mqfd"
                },
                {
                    "vulnerability": "VCID-yhkc-dkqq-x7fg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@2.2.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940309?format=api",
            "purl": "pkg:deb/debian/swift@2.26.0-10%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@2.26.0-10%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940307?format=api",
            "purl": "pkg:deb/debian/swift@2.30.1-0%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@2.30.1-0%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940311?format=api",
            "purl": "pkg:deb/debian/swift@2.35.1-0%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@2.35.1-0%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940310?format=api",
            "purl": "pkg:deb/debian/swift@2.37.1-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@2.37.1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76357?format=api",
            "purl": "pkg:pypi/swift@2.15.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qsxb-qjb1-mqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@2.15.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1049492?format=api",
            "purl": "pkg:deb/debian/swift@1.4.8-2%2Bdeb7u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1k44-tzfw-pkhw"
                },
                {
                    "vulnerability": "VCID-4djj-fd3y-jqch"
                },
                {
                    "vulnerability": "VCID-4k1g-3b3h-1fbz"
                },
                {
                    "vulnerability": "VCID-4wxz-pgew-5uc4"
                },
                {
                    "vulnerability": "VCID-9sad-598q-vygc"
                },
                {
                    "vulnerability": "VCID-akvp-y5s1-x7eg"
                },
                {
                    "vulnerability": "VCID-cczb-m9jq-wbb2"
                },
                {
                    "vulnerability": "VCID-njnr-ngu6-7qdv"
                },
                {
                    "vulnerability": "VCID-qsxb-qjb1-mqfd"
                },
                {
                    "vulnerability": "VCID-y2t3-3pyp-tbd2"
                },
                {
                    "vulnerability": "VCID-yhkc-dkqq-x7fg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/swift@1.4.8-2%252Bdeb7u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/251527?format=api",
            "purl": "pkg:pypi/swift@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1k44-tzfw-pkhw"
                },
                {
                    "vulnerability": "VCID-4k1g-3b3h-1fbz"
                },
                {
                    "vulnerability": "VCID-4wxz-pgew-5uc4"
                },
                {
                    "vulnerability": "VCID-9sad-598q-vygc"
                },
                {
                    "vulnerability": "VCID-cczb-m9jq-wbb2"
                },
                {
                    "vulnerability": "VCID-njnr-ngu6-7qdv"
                },
                {
                    "vulnerability": "VCID-qsxb-qjb1-mqfd"
                },
                {
                    "vulnerability": "VCID-wf91-36ce-hbcz"
                },
                {
                    "vulnerability": "VCID-y2t3-3pyp-tbd2"
                },
                {
                    "vulnerability": "VCID-yhkc-dkqq-x7fg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/124011?format=api",
            "purl": "pkg:rpm/redhat/openstack-swift@1.8.0-6?arch=el6ost",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-njnr-ngu6-7qdv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openstack-swift@1.8.0-6%3Farch=el6ost"
        }
    ],
    "references": [
        {
            "reference_url": "http://github.com/openstack/swift/commit/4eed6bf5b5028409f730be97ddcfb6bfa893c976",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://github.com/openstack/swift/commit/4eed6bf5b5028409f730be97ddcfb6bfa893c976"
        },
        {
            "reference_url": "http://github.com/openstack/swift/commit/92d7eadd328797d392758c79e258c8455874c80e",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://github.com/openstack/swift/commit/92d7eadd328797d392758c79e258c8455874c80e"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00021.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-07/msg00021.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0993.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0993.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-2161.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-2161.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-2161",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55891",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55942",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55868",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55887",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55863",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5581",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55857",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55916",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55865",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55791",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55904",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55926",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55955",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55957",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55966",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55946",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55928",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55965",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00329",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55968",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-2161"
        },
        {
            "reference_url": "https://bugs.launchpad.net/swift/+bug/1183884",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugs.launchpad.net/swift/+bug/1183884"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2161",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2161"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4155",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4155"
        },
        {
            "reference_url": "https://github.com/openstack/swift",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/openstack/swift"
        },
        {
            "reference_url": "https://github.com/openstack/swift/commit/6659382c4fa348e1ebbce2424968dd7267ea1db1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/openstack/swift/commit/6659382c4fa348e1ebbce2424968dd7267ea1db1"
        },
        {
            "reference_url": "https://github.com/openstack/swift/commit/8f9b135e0a16478a628f20224ce5babe62d4aaba",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/openstack/swift/commit/8f9b135e0a16478a628f20224ce5babe62d4aaba"
        },
        {
            "reference_url": "http://www.debian.org/security/2012/dsa-2737",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.debian.org/security/2012/dsa-2737"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2013/06/13/4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2013/06/13/4"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712202",
            "reference_id": "712202",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712202"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=972988",
            "reference_id": "972988",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=972988"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2161",
            "reference_id": "CVE-2013-2161",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2161"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9xgv-6v35-mmcj",
            "reference_id": "GHSA-9xgv-6v35-mmcj",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9xgv-6v35-mmcj"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0993",
            "reference_id": "RHSA-2013:0993",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0993"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1887-1/",
            "reference_id": "USN-1887-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1887-1/"
        }
    ],
    "weaknesses": [
        {
            "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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-njnr-ngu6-7qdv"
}