Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43490?format=api",
    "vulnerability_id": "VCID-rp7v-71b5-sqfd",
    "summary": "Improper Certificate Validation in Apache Commons HttpClient\nApache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.\n\nNote that the Commons HttpClient project is [end of life](https://hc.apache.org/httpclient-legacy/). It has been replaced by the Apache HttpComponents project in its [HttpClient](https://hc.apache.org/httpcomponents-client-5.4.x/) and [HttpCore](https://hc.apache.org/httpcomponents-core-5.3.x/) modules. CVE-2012-5783 has been patched in [v4.0](https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.0/) of the Apache HttpComponents HttpClient module.",
    "aliases": [
        {
            "alias": "CVE-2012-5783"
        },
        {
            "alias": "GHSA-3832-9276-x7gf"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/91799?format=api",
            "purl": "pkg:deb/debian/commons-httpclient@3.1-10.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/commons-httpclient@3.1-10.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/91798?format=api",
            "purl": "pkg:deb/debian/commons-httpclient@3.1-16?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/commons-httpclient@3.1-16%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62454?format=api",
            "purl": "pkg:maven/org.apache.httpcomponents/httpclient@4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6amm-pfu5-6bf4"
                },
                {
                    "vulnerability": "VCID-jd44-nhjx-3yfw"
                },
                {
                    "vulnerability": "VCID-mkuu-7x6y-7kc6"
                },
                {
                    "vulnerability": "VCID-x63h-y2jy-pyaz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.httpcomponents/httpclient@4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62378?format=api",
            "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/commons-httpclient/commons-httpclient@3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62453?format=api",
            "purl": "pkg:maven/org.apache.httpcomponents/httpclient@3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.httpcomponents/httpclient@3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182362?format=api",
            "purl": "pkg:rpm/redhat/jakarta-commons-httpclient@1:3.0-7jpp?arch=2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jakarta-commons-httpclient@1:3.0-7jpp%3Farch=2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182365?format=api",
            "purl": "pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-0.7?arch=el6_3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-0.7%3Farch=el6_3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182361?format=api",
            "purl": "pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2_patch_01.ep5?arch=el6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2_patch_01.ep5%3Farch=el6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182363?format=api",
            "purl": "pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2.1_patch_01.ep5?arch=el4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2.1_patch_01.ep5%3Farch=el4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182364?format=api",
            "purl": "pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2.1_patch_01.ep5?arch=el5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jakarta-commons-httpclient@1:3.1-2.1_patch_01.ep5%3Farch=el5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182366?format=api",
            "purl": "pkg:rpm/redhat/redhat-support-plugin-rhev@3.3.0-14?arch=el6ev",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rp7v-71b5-sqfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/redhat-support-plugin-rhev@3.3.0-14%3Farch=el6ev"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0270.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0270.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0679.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0679.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0680.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0680.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0682.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0682.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2014-0224.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2014-0224.html"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2017:0868",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/errata/RHSA-2017:0868"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5783.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5783.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5783",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00616",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70294",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5783"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79984",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79984"
        },
        {
            "reference_url": "https://github.com/apache/httpcomponents-client",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/httpcomponents-client"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/HTTPCLIENT-1265",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://issues.apache.org/jira/browse/HTTPCLIENT-1265"
        },
        {
            "reference_url": "http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"
        },
        {
            "reference_url": "http://www.ubuntu.com/usn/USN-2769-1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.ubuntu.com/usn/USN-2769-1"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692442",
            "reference_id": "692442",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692442"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=873317",
            "reference_id": "873317",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=873317"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5783",
            "reference_id": "CVE-2012-5783",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5783"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-3832-9276-x7gf",
            "reference_id": "GHSA-3832-9276-x7gf",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-3832-9276-x7gf"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0270",
            "reference_id": "RHSA-2013:0270",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0270"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0679",
            "reference_id": "RHSA-2013:0679",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0679"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0680",
            "reference_id": "RHSA-2013:0680",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0680"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0681",
            "reference_id": "RHSA-2013:0681",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0681"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0682",
            "reference_id": "RHSA-2013:0682",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0682"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:0763",
            "reference_id": "RHSA-2013:0763",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:0763"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:1006",
            "reference_id": "RHSA-2013:1006",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:1006"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:1147",
            "reference_id": "RHSA-2013:1147",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:1147"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:1853",
            "reference_id": "RHSA-2013:1853",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:1853"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2014:0224",
            "reference_id": "RHSA-2014:0224",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2014:0224"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 295,
            "name": "Improper Certificate Validation",
            "description": "The product does not validate, or incorrectly validates, a certificate."
        },
        {
            "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": "3.7 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rp7v-71b5-sqfd"
}