Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47173?format=api",
    "vulnerability_id": "VCID-jqxs-4xeh-5ue2",
    "summary": "Cross Site Scripting vulnerability in Contribsys Sidekiq v.6.5.8 allows a remote attacker to obtain sensitive information via a crafted URL to the filter functions.",
    "aliases": [
        {
            "alias": "CVE-2023-46950"
        },
        {
            "alias": "GHSA-fhx8-5c23-x7x5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68961?format=api",
            "purl": "pkg:gem/sidekiq-unique-jobs@7.1.33",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/sidekiq-unique-jobs@7.1.33"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68962?format=api",
            "purl": "pkg:gem/sidekiq-unique-jobs@8.0.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/sidekiq-unique-jobs@8.0.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68960?format=api",
            "purl": "pkg:gem/sidekiq-unique-jobs@8.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c2xf-r9kk-vkd6"
                },
                {
                    "vulnerability": "VCID-jqxs-4xeh-5ue2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/sidekiq-unique-jobs@8.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs"
        },
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs/commit/cd09ba6108f98973b6649a6149790c3d4502b4cc",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs/commit/cd09ba6108f98973b6649a6149790c3d4502b4cc"
        },
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs/commit/ec3afd920c1b55843c72f748a87baac7f8be82ed",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs/commit/ec3afd920c1b55843c72f748a87baac7f8be82ed"
        },
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs/pull/829",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs/pull/829"
        },
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs/releases/tag/v8.0.7",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs/releases/tag/v8.0.7"
        },
        {
            "reference_url": "https://link.org",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://link.org"
        },
        {
            "reference_url": "https://www.link.com",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.link.com"
        },
        {
            "reference_url": "https://www.mgm-sp.com/cve/sidekiq-unique-jobs-reflected-xss-cve-2023-46950-cve-2023-46951",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.mgm-sp.com/cve/sidekiq-unique-jobs-reflected-xss-cve-2023-46950-cve-2023-46951"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46950",
            "reference_id": "CVE-2023-46950",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46950"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sidekiq-unique-jobs/CVE-2023-46950.yml",
            "reference_id": "CVE-2023-46950.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sidekiq-unique-jobs/CVE-2023-46950.yml"
        },
        {
            "reference_url": "https://github.com/mhenrixon/sidekiq-unique-jobs/security/advisories/GHSA-cmh9-rx85-xj38",
            "reference_id": "GHSA-cmh9-rx85-xj38",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mhenrixon/sidekiq-unique-jobs/security/advisories/GHSA-cmh9-rx85-xj38"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-fhx8-5c23-x7x5",
            "reference_id": "GHSA-fhx8-5c23-x7x5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-fhx8-5c23-x7x5"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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-jqxs-4xeh-5ue2"
}