{"api_version":"1","generated_at":"2026-07-24T17:35:03+00:00","cve":"CVE-2021-20314","urls":{"html":"https://cve.report/CVE-2021-20314","api":"https://cve.report/api/cve/CVE-2021-20314.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20314","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20314"},"summary":{"title":"CVE-2021-20314","description":"Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-08-12 15:15:00","updated_at":"2024-01-15 17:15:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 35 Update: libspf2-1.2.11-1.20210922git4915c308.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/","name":"FEDORA-2021-aa8637c985","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: libspf2-1.2.11-1.20210922git4915c308.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 33 Update: libspf2-1.2.11-1.20210922git4915c308.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 34 Update: libspf2-1.2.11-1.20210922git4915c308.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/","name":"FEDORA-2021-994751581f","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: libspf2-1.2.11-1.20210922git4915c308.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/","name":"FEDORA-2021-044be3d54e","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: libspf2-1.2.11-1.20210922git4915c308.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1993070","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1993070","refsource":"MISC","tags":[],"title":"1993070 – (CVE-2021-20314) CVE-2021-20314 libspf2: stack buffer overflow when processing SPF explanation macros","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-22","name":"https://security.gentoo.org/glsa/202401-22","refsource":"","tags":[],"title":"libspf2: Multiple vulnerabilities (GLSA 202401-22) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20314","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20314","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libspf2","cpe5":"libspf2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20314","qid":"178753","title":"Debian Security Update for libspf2 (DSA 4955-1)"},{"cve":"CVE-2021-20314","qid":"178756","title":"Debian Security Update for libspf2 (DLA 2739-1)"},{"cve":"CVE-2021-20314","qid":"179606","title":"Debian Security Update for libspf2 (CVE-2021-20314)"},{"cve":"CVE-2021-20314","qid":"200049","title":"Ubuntu Security Notification for Libspf2 Vulnerabilities (USN-6584-1)"},{"cve":"CVE-2021-20314","qid":"281944","title":"Fedora Security Update for libspf2 (FEDORA-2021-994751581f)"},{"cve":"CVE-2021-20314","qid":"281945","title":"Fedora Security Update for libspf2 (FEDORA-2021-044be3d54e)"},{"cve":"CVE-2021-20314","qid":"500317","title":"Alpine Linux Security Update for libspf2"},{"cve":"CVE-2021-20314","qid":"504084","title":"Alpine Linux Security Update for libspf2"},{"cve":"CVE-2021-20314","qid":"710839","title":"Gentoo Linux libspf2 Multiple Vulnerabilities (GLSA 202401-22)"},{"cve":"CVE-2021-20314","qid":"751051","title":"OpenSUSE Security Update for libspf2 (openSUSE-SU-2021:1187-1)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-20314","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"stack buffer overflow"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"libspf2","version":{"version_data":[{"version_affected":"=","version_value":"1.2.11"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1993070","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1993070"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/"}]}},"nvd":{"publishedDate":"2021-08-12 15:15:00","lastModifiedDate":"2024-01-15 17:15:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libspf2:libspf2:*:*:*:*:*:*:*:*","versionEndExcluding":"1.2.11","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20314","Ordinal":"194355","Title":"CVE-2021-20314","CVE":"CVE-2021-20314","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20314","Ordinal":"1","NoteData":"Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20314","Ordinal":"2","NoteData":"2021-08-12","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20314","Ordinal":"3","NoteData":"2021-09-29","Type":"Other","Title":"Modified"}]}}}