Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/24146?format=api",
    "vulnerability_id": "VCID-rgsr-9wpx-qqg6",
    "summary": "cryptography has incomplete DNS name constraint enforcement on peer names\n## Summary\n\nIn versions of cryptography prior to 46.0.5, DNS name constraints were only validated against SANs within child certificates, and not the \"peer name\" presented during each validation. Consequently, cryptography would allow a peer named `bar.example.com` to validate against a wildcard leaf certificate for `*.example.com`, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for `bar.example.com`.\n\nThis behavior resulted from a gap between RFC 5280 (which defines Name Constraint semantics) and RFC 9525 (which defines service identity semantics): put together, neither states definitively whether Name Constraints should be applied to peer names. To close this gap, cryptography now conservatively rejects any validation where the peer name would be rejected by a name constraint if it were a SAN instead.\n\nIn practice, exploitation of this bypass requires an uncommon X.509 topology, one that the Web PKI avoids because it exhibits these kinds of problems. Consequently, we consider this a medium-to-low impact severity.\n\nSee CVE-2025-61727 for a similar bypass in Go's `crypto/x509`.\n\n## Remediation\n\nUsers should upgrade to 46.0.6 or newer. \n\n## Attribution\n\nReporter: @1seal",
    "aliases": [
        {
            "alias": "CVE-2026-34073"
        },
        {
            "alias": "GHSA-m959-cc7f-wv43"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059711?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=aarch64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=aarch64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059712?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armhf&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armhf&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059713?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armv7&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armv7&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059714?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=loongarch64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=loongarch64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059729?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=aarch64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=aarch64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059730?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armhf&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armhf&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059731?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armv7&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armv7&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059732?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=loongarch64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=loongarch64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059733?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=ppc64le&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=ppc64le&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059735?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=s390x&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=s390x&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059737?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86_64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86_64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059715?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=ppc64le&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=ppc64le&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059717?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=s390x&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=s390x&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059718?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059719?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86_64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86_64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059734?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=riscv64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=riscv64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059736?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059716?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=riscv64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=riscv64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936315?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.6-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.6-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055155?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.6-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.6-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1062528?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.7-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.7-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67222?format=api",
            "purl": "pkg:pypi/cryptography@46.0.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@46.0.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936313?format=api",
            "purl": "pkg:deb/debian/python-cryptography@3.3.2-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@3.3.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1054713?format=api",
            "purl": "pkg:deb/debian/python-cryptography@3.3.2-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-48jq-1u5d-tkan"
                },
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-u4f5-k68d-wfd1"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@3.3.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055153?format=api",
            "purl": "pkg:deb/debian/python-cryptography@38.0.4-3%2Bdeb12u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@38.0.4-3%252Bdeb12u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936311?format=api",
            "purl": "pkg:deb/debian/python-cryptography@38.0.4-3%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@38.0.4-3%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936316?format=api",
            "purl": "pkg:deb/debian/python-cryptography@43.0.0-3%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@43.0.0-3%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055154?format=api",
            "purl": "pkg:deb/debian/python-cryptography@43.0.0-3%2Bdeb13u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@43.0.0-3%252Bdeb13u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936314?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.5-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.5-2%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-34073.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/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-2026-34073.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-34073",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05951",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0594",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05975",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05985",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05994",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.06012",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05934",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00022",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05972",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00023",
                    "scoring_system": "epss",
                    "scoring_elements": "0.06249",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00023",
                    "scoring_system": "epss",
                    "scoring_elements": "0.06218",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-34073"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34073",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34073"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "1.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pyca/cryptography"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "1.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-31T13:50:17Z/"
                }
            ],
            "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34073",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "1.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34073"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2453276",
            "reference_id": "2453276",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2453276"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-m959-cc7f-wv43",
            "reference_id": "GHSA-m959-cc7f-wv43",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-m959-cc7f-wv43"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 295,
            "name": "Improper Certificate Validation",
            "description": "The product does not validate, or incorrectly validates, a certificate."
        }
    ],
    "exploits": [],
    "severity_range_score": "0.1 - 5.3",
    "exploitability": "0.5",
    "weighted_severity": "4.8",
    "risk_score": 2.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rgsr-9wpx-qqg6"
}