Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/137801?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/137801?format=api", "purl": "pkg:rpm/redhat/libldb@1.4.2-2?arch=el7_7", "type": "rpm", "namespace": "redhat", "name": "libldb", "version": "1.4.2-2", "qualifiers": { "arch": "el7_7" }, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/75222?format=api", "vulnerability_id": "VCID-5tc4-e6tj-3qfa", "summary": "A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20277.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20277.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20277", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.09838", "scoring_system": "epss", "scoring_elements": "0.93126", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.09838", "scoring_system": "epss", "scoring_elements": "0.93132", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.09838", "scoring_system": "epss", "scoring_elements": "0.93131", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.09838", "scoring_system": "epss", "scoring_elements": "0.93128", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.09838", "scoring_system": "epss", "scoring_elements": "0.93121", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20277" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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=1941402", "reference_id": "1941402", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941402" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985935", "reference_id": "985935", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985935" }, { "reference_url": "https://security.archlinux.org/AVG-1732", "reference_id": "AVG-1732", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-1732" }, { "reference_url": "https://security.archlinux.org/AVG-1734", "reference_id": "AVG-1734", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-1734" }, { "reference_url": "https://security.gentoo.org/glsa/202105-22", "reference_id": "GLSA-202105-22", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202105-22" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:1072", "reference_id": "RHSA-2021:1072", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:1072" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:1197", "reference_id": "RHSA-2021:1197", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:1197" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:1213", "reference_id": "RHSA-2021:1213", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:1213" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:1214", "reference_id": "RHSA-2021:1214", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:1214" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:2331", "reference_id": "RHSA-2021:2331", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:2331" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:2786", "reference_id": "RHSA-2021:2786", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:2786" }, { "reference_url": "https://usn.ubuntu.com/4888-1/", "reference_id": "USN-4888-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4888-1/" }, { "reference_url": "https://usn.ubuntu.com/4888-2/", "reference_id": "USN-4888-2", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4888-2/" } ], "fixed_packages": [], "aliases": [ "CVE-2021-20277" ], "risk_score": 3.2, "exploitability": "0.5", "weighted_severity": "6.4", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5tc4-e6tj-3qfa" } ], "fixing_vulnerabilities": [], "risk_score": "3.2", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libldb@1.4.2-2%3Farch=el7_7" }