Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44487?format=api",
    "vulnerability_id": "VCID-ka7b-vp4z-d7bu",
    "summary": "Insecure Temporary File in RESTEasy\nIn RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.",
    "aliases": [
        {
            "alias": "CVE-2023-0482"
        },
        {
            "alias": "GHSA-jrmh-v64j-mjm9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64003?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@4.7.8.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@4.7.8.Final"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64004?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@5.0.6.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@5.0.6.Final"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64005?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63995?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@4.7.8.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@4.7.8.Final"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63996?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@5.0.6.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@5.0.6.Final"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63997?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@6.2.3.Final",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@6.2.3.Final"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64001?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@5.0.0.Alpha1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ka7b-vp4z-d7bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@5.0.0.Alpha1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64002?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@6.0.0.Beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ka7b-vp4z-d7bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@6.0.0.Beta1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63993?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@5.0.0.Alpha1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ka7b-vp4z-d7bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@5.0.0.Alpha1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63994?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@6.0.0.Beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ka7b-vp4z-d7bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-multipart-provider@6.0.0.Beta1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63998?format=api",
            "purl": "pkg:maven/org.jboss.resteasy/resteasy-undertow@6.2.2.Final",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ka7b-vp4z-d7bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-undertow@6.2.2.Final"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/orgs/resteasy/discussions/3415",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/orgs/resteasy/discussions/3415"
        },
        {
            "reference_url": "https://github.com/orgs/resteasy/discussions/3504",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/orgs/resteasy/discussions/3504"
        },
        {
            "reference_url": "https://github.com/orgs/resteasy/discussions/3506",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/orgs/resteasy/discussions/3506"
        },
        {
            "reference_url": "https://github.com/resteasy/Resteasy",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/resteasy/Resteasy"
        },
        {
            "reference_url": "https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56"
        },
        {
            "reference_url": "https://issues.redhat.com/browse/RESTEASY-3286",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.redhat.com/browse/RESTEASY-3286"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20230427-0001",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20230427-0001"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0482",
            "reference_id": "CVE-2023-0482",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0482"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jrmh-v64j-mjm9",
            "reference_id": "GHSA-jrmh-v64j-mjm9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jrmh-v64j-mjm9"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 378,
            "name": "Creation of Temporary File With Insecure Permissions",
            "description": "Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack."
        },
        {
            "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-ka7b-vp4z-d7bu"
}