Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10649?format=api",
    "purl": "pkg:pypi/flask@0.11.1",
    "type": "pypi",
    "namespace": "",
    "name": "flask",
    "version": "0.11.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.2.5",
    "latest_non_vulnerable_version": "3.1.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8769?format=api",
            "vulnerability_id": "VCID-4zf1-yftj-3fa5",
            "summary": "Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client's `session` cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on all these conditions being met.\n\n1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.\n2. The application sets `session.permanent = True`\n3. The application does not access or modify the session at any point during a request.\n4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default).\n5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached.\n\nThis happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.",
            "references": [
                {
                    "reference_url": "https://github.com/pallets/flask",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/releases/tag/2.2.5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/releases/tag/2.2.5"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/releases/tag/2.3.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/releases/tag/2.3.2"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2023-62.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2023-62.yaml"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230818-0006",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20230818-0006"
                },
                {
                    "reference_url": "https://www.debian.org/security/2023/dsa-5442",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2023/dsa-5442"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30861",
                    "reference_id": "CVE-2023-30861",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30861"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m2qf-hxjv-5gpq",
                    "reference_id": "GHSA-m2qf-hxjv-5gpq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-m2qf-hxjv-5gpq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/32422?format=api",
                    "purl": "pkg:pypi/flask@2.2.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/flask@2.2.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/32423?format=api",
                    "purl": "pkg:pypi/flask@2.3.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/flask@2.3.2"
                }
            ],
            "aliases": [
                "CVE-2023-30861",
                "GHSA-m2qf-hxjv-5gpq",
                "PYSEC-2023-62"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4zf1-yftj-3fa5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7723?format=api",
            "vulnerability_id": "VCID-665n-js85-m7ch",
            "summary": "The Pallets Project Flask before 1.0 is affected by: unexpected memory usage. The impact is: denial of service. The attack vector is: crafted encoded JSON data. The fixed version is: 1. NOTE: this may overlap CVE-2018-1000656.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-1010083",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00469",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64856",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-1010083"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5wv5-4vpf-pj6m",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5wv5-4vpf-pj6m"
                },
                {
                    "reference_url": "https://www.palletsprojects.com/blog/flask-1-0-released/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.palletsprojects.com/blog/flask-1-0-released/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12503?format=api",
                    "purl": "pkg:pypi/flask@1.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4zf1-yftj-3fa5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/flask@1.0"
                }
            ],
            "aliases": [
                "CVE-2019-1010083",
                "GHSA-5wv5-4vpf-pj6m",
                "PYSEC-2019-179"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-665n-js85-m7ch"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7604?format=api",
            "vulnerability_id": "VCID-p1sj-stfb-mbce",
            "summary": "The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in flask that can result in Large amount of memory usage possibly leading to denial of service. This attack appear to be exploitable via Attacker provides JSON data in incorrect encoding. This vulnerability appears to have been fixed in 0.12.3. NOTE: this may overlap CVE-2019-1010083.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000656",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00575",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69084",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000656"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-562c-5r94-xh97",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-562c-5r94-xh97"
                },
                {
                    "reference_url": "https://github.com/pallets/flask",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/commit/b178e89e4456e777b1a7ac6d7199052d0dfdbbbe",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/commit/b178e89e4456e777b1a7ac6d7199052d0dfdbbbe"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/pull/2691",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/pull/2691"
                },
                {
                    "reference_url": "https://github.com/pallets/flask/releases/tag/0.12.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pallets/flask/releases/tag/0.12.3"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2018-66.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2018-66.yaml"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2019/08/msg00025.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/08/msg00025.html"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20190221-0001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20190221-0001"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20190221-0001/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20190221-0001/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4378-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4378-1"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4378-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4378-1/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000656",
                    "reference_id": "CVE-2018-1000656",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000656"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10653?format=api",
                    "purl": "pkg:pypi/flask@0.12.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4zf1-yftj-3fa5"
                        },
                        {
                            "vulnerability": "VCID-665n-js85-m7ch"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/flask@0.12.3"
                }
            ],
            "aliases": [
                "CVE-2018-1000656",
                "GHSA-562c-5r94-xh97",
                "PYSEC-2018-66"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p1sj-stfb-mbce"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/flask@0.11.1"
}