Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46830?format=api",
    "vulnerability_id": "VCID-sfwy-s2kr-bbbn",
    "summary": "This advisory has been marked as False-Positive and removed\nApache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting \n\nMitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure `blockSemicolon` is enabled (this is the default).",
    "aliases": [
        {
            "alias": "CVE-2023-46749"
        },
        {
            "alias": "GHSA-jc7h-c423-mpjc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68515?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-all@1.13.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-all@1.13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68517?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-core@1.13.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-core@1.13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68518?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-core@2.0.0-alpha4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-core@2.0.0-alpha4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68195?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-web@1.13.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-web@1.13.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68516?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-core@2.0.0alpha1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sfwy-s2kr-bbbn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-core@2.0.0alpha1"
        }
    ],
    "references": [
        {
            "reference_url": "https://lists.apache.org/thread/mdv7ftz7k4488rzloxo2fb0p9shnp9wm",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread/mdv7ftz7k4488rzloxo2fb0p9shnp9wm"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20241108-0002",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20241108-0002"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46749",
            "reference_id": "CVE-2023-46749",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46749"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jc7h-c423-mpjc",
            "reference_id": "GHSA-jc7h-c423-mpjc",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jc7h-c423-mpjc"
        }
    ],
    "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": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sfwy-s2kr-bbbn"
}