{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/48482?format=json","vulnerability_id":"VCID-wxva-f9ay-c3a2","summary":"Multiple vulnerabilities have been discovered in Samba, the worst of which could result in root remote code execution.","aliases":[{"alias":"CVE-2021-20316"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/939067?format=json","purl":"pkg:deb/debian/samba@2:4.16.0%2Bdfsg-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.16.0%252Bdfsg-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/994568?format=json","purl":"pkg:deb/debian/samba@2:4.17.12%2Bdfsg-0%2Bdeb12u2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.17.12%252Bdfsg-0%252Bdeb12u2"},{"url":"http://public2.vulnerablecode.io/api/packages/938982?format=json","purl":"pkg:deb/debian/samba@2:4.17.12%2Bdfsg-0%2Bdeb12u3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.17.12%252Bdfsg-0%252Bdeb12u3%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/938986?format=json","purl":"pkg:deb/debian/samba@2:4.22.8%2Bdfsg-0%2Bdeb13u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.22.8%252Bdfsg-0%252Bdeb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/938985?format=json","purl":"pkg:deb/debian/samba@2:4.23.6%2Bdfsg-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.23.6%252Bdfsg-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/1067630?format=json","purl":"pkg:deb/debian/samba@2:4.24.1%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.24.1%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/1112581?format=json","purl":"pkg:deb/debian/samba@2:4.24.2%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.24.2%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/77521?format=json","purl":"pkg:ebuild/net-fs/samba@4.18.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:ebuild/net-fs/samba@4.18.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/938984?format=json","purl":"pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u6?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18xs-py1v-xfey"},{"vulnerability":"VCID-28rq-1d68-4bfz"},{"vulnerability":"VCID-2w26-yjmn-k7an"},{"vulnerability":"VCID-3du2-evy8-jfa1"},{"vulnerability":"VCID-5cd3-497h-qkhw"},{"vulnerability":"VCID-68zz-z589-87f6"},{"vulnerability":"VCID-6mju-nwzy-pqeq"},{"vulnerability":"VCID-7xdg-sn88-bkbs"},{"vulnerability":"VCID-84q8-2457-qkc5"},{"vulnerability":"VCID-94k8-98me-x3dw"},{"vulnerability":"VCID-apqw-e2px-yka5"},{"vulnerability":"VCID-b4ty-d775-5fed"},{"vulnerability":"VCID-bc1t-hzu5-bffd"},{"vulnerability":"VCID-bpht-9daq-rfgd"},{"vulnerability":"VCID-fskg-j9fe-6yeg"},{"vulnerability":"VCID-hfsk-4cbd-m3b1"},{"vulnerability":"VCID-kkwp-2x9m-9bgd"},{"vulnerability":"VCID-q2d9-vahb-6qce"},{"vulnerability":"VCID-r7va-6j6s-rba5"},{"vulnerability":"VCID-w4c6-p858-rkaw"},{"vulnerability":"VCID-wxva-f9ay-c3a2"},{"vulnerability":"VCID-xmn1-g72k-8qcq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1~deb11u6%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/994567?format=json","purl":"pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18xs-py1v-xfey"},{"vulnerability":"VCID-28rq-1d68-4bfz"},{"vulnerability":"VCID-2w26-yjmn-k7an"},{"vulnerability":"VCID-3du2-evy8-jfa1"},{"vulnerability":"VCID-5cd3-497h-qkhw"},{"vulnerability":"VCID-68zz-z589-87f6"},{"vulnerability":"VCID-6mju-nwzy-pqeq"},{"vulnerability":"VCID-745n-wca7-d7fh"},{"vulnerability":"VCID-7xdg-sn88-bkbs"},{"vulnerability":"VCID-84q8-2457-qkc5"},{"vulnerability":"VCID-94k8-98me-x3dw"},{"vulnerability":"VCID-apqw-e2px-yka5"},{"vulnerability":"VCID-b4ty-d775-5fed"},{"vulnerability":"VCID-bc1t-hzu5-bffd"},{"vulnerability":"VCID-bpht-9daq-rfgd"},{"vulnerability":"VCID-fskg-j9fe-6yeg"},{"vulnerability":"VCID-hfsk-4cbd-m3b1"},{"vulnerability":"VCID-kkwp-2x9m-9bgd"},{"vulnerability":"VCID-q2d9-vahb-6qce"},{"vulnerability":"VCID-r7va-6j6s-rba5"},{"vulnerability":"VCID-w4c6-p858-rkaw"},{"vulnerability":"VCID-wxva-f9ay-c3a2"},{"vulnerability":"VCID-xmn1-g72k-8qcq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1~deb11u6"},{"url":"http://public2.vulnerablecode.io/api/packages/99401?format=json","purl":"pkg:rpm/redhat/samba@4.15.5-5?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-94k8-98me-x3dw"},{"vulnerability":"VCID-wxva-f9ay-c3a2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@4.15.5-5%3Farch=el8"},{"url":"http://public2.vulnerablecode.io/api/packages/99402?format=json","purl":"pkg:rpm/redhat/samba@4.15.5-100?arch=el8rhgs","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-94k8-98me-x3dw"},{"vulnerability":"VCID-wxva-f9ay-c3a2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@4.15.5-100%3Farch=el8rhgs"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20316.json","reference_id":"","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20316.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-20316","reference_id":"","reference_type":"","scores":[{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72249","published_at":"2026-04-01T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72255","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72274","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.7225","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72289","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72301","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72323","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72307","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72294","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72336","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72345","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.7243","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72392","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72419","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72333","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72376","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72386","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72382","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72373","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00712","scoring_system":"epss","scoring_elements":"0.72403","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00813","scoring_system":"epss","scoring_elements":"0.74437","published_at":"2026-05-15T12:55:00Z"},{"value":"0.00813","scoring_system":"epss","scoring_elements":"0.74431","published_at":"2026-05-14T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-20316"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20316","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20316"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004690","reference_id":"1004690","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004690"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2009673","reference_id":"2009673","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2009673"},{"reference_url":"https://security.gentoo.org/glsa/202309-06","reference_id":"GLSA-202309-06","reference_type":"","scores":[],"url":"https://security.gentoo.org/glsa/202309-06"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1756","reference_id":"RHSA-2022:1756","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1756"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:2074","reference_id":"RHSA-2022:2074","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:2074"}],"weaknesses":[{"cwe_id":362,"name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently."}],"exploits":[],"severity_range_score":"5.9 - 5.9","exploitability":"0.5","weighted_severity":"5.3","risk_score":2.6,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-wxva-f9ay-c3a2"}