Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46141?format=api",
    "vulnerability_id": "VCID-hykv-yanw-1bf9",
    "summary": "Integer Overflow or Wraparound\nLibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow.",
    "aliases": [
        {
            "alias": "CVE-2023-40745"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67176?format=api",
            "purl": "pkg:conan/libtiff@4.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5zvp-ysut-juep"
                },
                {
                    "vulnerability": "VCID-d93s-emc6-ayae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/libtiff@4.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132045?format=api",
            "purl": "pkg:deb/debian/tiff@4.2.0-1%2Bdeb11u5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qdp-vzrd-uqgc"
                },
                {
                    "vulnerability": "VCID-5zvp-ysut-juep"
                },
                {
                    "vulnerability": "VCID-6hf4-rc1a-pbg6"
                },
                {
                    "vulnerability": "VCID-6v96-k8cs-13f7"
                },
                {
                    "vulnerability": "VCID-92dt-g6m8-fufk"
                },
                {
                    "vulnerability": "VCID-anfx-xj8v-kfg8"
                },
                {
                    "vulnerability": "VCID-c7nt-5d64-kkev"
                },
                {
                    "vulnerability": "VCID-d52s-g5c7-qka3"
                },
                {
                    "vulnerability": "VCID-fbks-9s7e-wfcj"
                },
                {
                    "vulnerability": "VCID-gyvd-4m8g-jkdu"
                },
                {
                    "vulnerability": "VCID-hhgz-j76b-k7d4"
                },
                {
                    "vulnerability": "VCID-kxdc-8rht-vfdy"
                },
                {
                    "vulnerability": "VCID-n3p5-9ykg-sufd"
                },
                {
                    "vulnerability": "VCID-nwgs-pqj7-xkbs"
                },
                {
                    "vulnerability": "VCID-su9v-ewt3-6ua8"
                },
                {
                    "vulnerability": "VCID-xg35-8jbc-wqa4"
                },
                {
                    "vulnerability": "VCID-xms6-c2j7-hfh8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.2.0-1%252Bdeb11u5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132433?format=api",
            "purl": "pkg:deb/debian/tiff@4.5.0-6%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.5.0-6%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132043?format=api",
            "purl": "pkg:deb/debian/tiff@4.5.0-6%2Bdeb12u4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qdp-vzrd-uqgc"
                },
                {
                    "vulnerability": "VCID-5zvp-ysut-juep"
                },
                {
                    "vulnerability": "VCID-6hf4-rc1a-pbg6"
                },
                {
                    "vulnerability": "VCID-6v96-k8cs-13f7"
                },
                {
                    "vulnerability": "VCID-92dt-g6m8-fufk"
                },
                {
                    "vulnerability": "VCID-c7nt-5d64-kkev"
                },
                {
                    "vulnerability": "VCID-cpk7-uyvf-3kb6"
                },
                {
                    "vulnerability": "VCID-d52s-g5c7-qka3"
                },
                {
                    "vulnerability": "VCID-fbks-9s7e-wfcj"
                },
                {
                    "vulnerability": "VCID-gyvd-4m8g-jkdu"
                },
                {
                    "vulnerability": "VCID-kxdc-8rht-vfdy"
                },
                {
                    "vulnerability": "VCID-n3p5-9ykg-sufd"
                },
                {
                    "vulnerability": "VCID-nwgs-pqj7-xkbs"
                },
                {
                    "vulnerability": "VCID-su9v-ewt3-6ua8"
                },
                {
                    "vulnerability": "VCID-xg35-8jbc-wqa4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.5.0-6%252Bdeb12u4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132434?format=api",
            "purl": "pkg:deb/debian/tiff@4.5.1%2Bgit230720-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.5.1%252Bgit230720-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132047?format=api",
            "purl": "pkg:deb/debian/tiff@4.7.0-3%2Bdeb13u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qdp-vzrd-uqgc"
                },
                {
                    "vulnerability": "VCID-6hf4-rc1a-pbg6"
                },
                {
                    "vulnerability": "VCID-92dt-g6m8-fufk"
                },
                {
                    "vulnerability": "VCID-fbks-9s7e-wfcj"
                },
                {
                    "vulnerability": "VCID-n3p5-9ykg-sufd"
                },
                {
                    "vulnerability": "VCID-su9v-ewt3-6ua8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.7.0-3%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/132046?format=api",
            "purl": "pkg:deb/debian/tiff@4.7.1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/tiff@4.7.1-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117279?format=api",
            "purl": "pkg:rpm/redhat/libtiff@4.4.0-12?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fm7d-pca1-hkeh"
                },
                {
                    "vulnerability": "VCID-hhgz-j76b-k7d4"
                },
                {
                    "vulnerability": "VCID-hykv-yanw-1bf9"
                },
                {
                    "vulnerability": "VCID-mn3y-yrxt-jkgx"
                },
                {
                    "vulnerability": "VCID-xg35-8jbc-wqa4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libtiff@4.4.0-12%3Farch=el9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-40745.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-40745.json"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2235265",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2235265"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2023-40745",
            "reference_id": "CVE-2023-40745",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/CVE-2023-40745"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40745",
            "reference_id": "CVE-2023-40745",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40745"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:2289",
            "reference_id": "RHSA-2024:2289",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:2289"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.5 - 6.5",
    "exploitability": "0.5",
    "weighted_severity": "5.9",
    "risk_score": 3.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hykv-yanw-1bf9"
}