Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/59434?format=api",
    "vulnerability_id": "VCID-pdf8-znrf-3ffv",
    "summary": "Missing Authorization in Jenkins Mercurial Plugin\nMercurial Plugin prior to 2.12, 2.10.1, 2.9.1, and 2.8.1 does not perform a permission check in an HTTP endpoint.\n\nThis allows attackers with Overall/Read permission to obtain a list of names of configured Mercurial installations.\n\nMercurial Plugin 2.12, 2.10.1, 2.9.1, and 2.8.1 performs permission checks when listing configured Mercurial installations.",
    "aliases": [
        {
            "alias": "CVE-2020-2306"
        },
        {
            "alias": "GHSA-vrrc-3wwh-frgx"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83820?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.8.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83819?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.9.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83817?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.10.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.10.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83815?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.12"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83818?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83816?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83814?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/mercurial@2.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/mercurial@2.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101437?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@3.11.1612862361-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2t2v-bwr2-vugu"
                },
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-8t18-v493-jbam"
                },
                {
                    "vulnerability": "VCID-myg2-6ghy-hkgm"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                },
                {
                    "vulnerability": "VCID-vp12-7b76-efg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@3.11.1612862361-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101438?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.5.1610108899-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2t2v-bwr2-vugu"
                },
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-8t18-v493-jbam"
                },
                {
                    "vulnerability": "VCID-myg2-6ghy-hkgm"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                },
                {
                    "vulnerability": "VCID-vp12-7b76-efg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.5.1610108899-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101436?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.6.1608634578-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2t2v-bwr2-vugu"
                },
                {
                    "vulnerability": "VCID-62bs-bqfj-bubj"
                },
                {
                    "vulnerability": "VCID-8t18-v493-jbam"
                },
                {
                    "vulnerability": "VCID-myg2-6ghy-hkgm"
                },
                {
                    "vulnerability": "VCID-pdf8-znrf-3ffv"
                },
                {
                    "vulnerability": "VCID-vp12-7b76-efg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.6.1608634578-1%3Farch=el7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-2306.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-2306.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-2306",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19651",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19901",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19911",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19867",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19809",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19782",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19785",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19797",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19691",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19685",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19836",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19983",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20041",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19768",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19848",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-2306"
        },
        {
            "reference_url": "https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2306.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2306.json"
        },
        {
            "reference_url": "https://github.com/jenkinsci/mercurial-plugin/commit/edd59db1eec7e3c8d467372cd8417ae65eeb29dd",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/mercurial-plugin/commit/edd59db1eec7e3c8d467372cd8417ae65eeb29dd"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-2306",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-2306"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2104",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2104"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1895941",
            "reference_id": "1895941",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1895941"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vrrc-3wwh-frgx",
            "reference_id": "GHSA-vrrc-3wwh-frgx",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-vrrc-3wwh-frgx"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0034",
            "reference_id": "RHSA-2021:0034",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0034"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0038",
            "reference_id": "RHSA-2021:0038",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0038"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 862,
            "name": "Missing Authorization",
            "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action."
        },
        {
            "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": 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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pdf8-znrf-3ffv"
}