Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/48767?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48767?format=api", "vulnerability_id": "VCID-8kna-v21h-qfb5", "summary": "Multiple vulnerabilities have been discovered in PHP, the worst of which could result in local root privilege escalation.", "aliases": [ { "alias": "CVE-2021-21704" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/373649?format=api", "purl": "pkg:alpm/archlinux/php@8.0.8-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/php@8.0.8-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/935096?format=api", "purl": "pkg:deb/debian/php7.4@7.4.21-1%2Bdeb11u1?distro=bullseye", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.21-1%252Bdeb11u1%3Fdistro=bullseye" }, { "url": "http://public2.vulnerablecode.io/api/packages/935086?format=api", "purl": "pkg:deb/debian/php7.4@7.4.33-1%2Bdeb11u5?distro=bullseye", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.33-1%252Bdeb11u5%3Fdistro=bullseye" }, { "url": "http://public2.vulnerablecode.io/api/packages/77635?format=api", "purl": "pkg:ebuild/dev-lang/php@7.4.30", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@7.4.30" }, { "url": "http://public2.vulnerablecode.io/api/packages/77636?format=api", "purl": "pkg:ebuild/dev-lang/php@8.0.23", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.0.23" }, { "url": "http://public2.vulnerablecode.io/api/packages/77637?format=api", "purl": "pkg:ebuild/dev-lang/php@8.1.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.1.8" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/373648?format=api", "purl": "pkg:alpm/archlinux/php@8.0.7-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-8kna-v21h-qfb5" }, { "vulnerability": "VCID-99r7-s4va-3kes" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/php@8.0.7-1" } ], "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21704.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.9", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21704.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21704", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35369", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35008", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35208", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35128", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35568", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35594", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35476", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35522", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35546", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35555", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35511", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35489", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35528", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35518", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.35467", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.0015", "scoring_system": "epss", "scoring_elements": "0.3523", "published_at": "2026-04-24T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21704" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1978790", "reference_id": "1978790", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1978790" }, { "reference_url": "https://security.archlinux.org/ASA-202107-15", "reference_id": "ASA-202107-15", "reference_type": "", "scores": [], "url": "https://security.archlinux.org/ASA-202107-15" }, { "reference_url": "https://security.archlinux.org/AVG-2132", "reference_id": "AVG-2132", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-2132" }, { "reference_url": "https://security.gentoo.org/glsa/202209-20", "reference_id": "GLSA-202209-20", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202209-20" }, { "reference_url": "https://usn.ubuntu.com/5006-1/", "reference_id": "USN-5006-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/5006-1/" }, { "reference_url": "https://usn.ubuntu.com/5006-2/", "reference_id": "USN-5006-2", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/5006-2/" } ], "weaknesses": [ { "cwe_id": 20, "name": "Improper Input Validation", "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly." } ], "exploits": [], "severity_range_score": "4.0 - 7.5", "exploitability": "0.5", "weighted_severity": "6.2", "risk_score": 3.1, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8kna-v21h-qfb5" }