{"api_version":"1","generated_at":"2026-05-13T05:23:23+00:00","cve":"CVE-2021-25317","urls":{"html":"https://cve.report/CVE-2021-25317","api":"https://cve.report/api/cve/CVE-2021-25317.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25317","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25317"},"summary":{"title":"CVE-2021-25317","description":"A Incorrect Default Permissions vulnerability in the packaging of cups of SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Manager Server 4.0, SUSE OpenStack Cloud Crowbar 9; openSUSE Leap 15.2, Factory allows local attackers with control of the lp users to create files as root with 0644 permissions without the ability to set the content. This issue affects: SUSE Linux Enterprise Server 11-SP4-LTSS cups versions prior to 1.3.9. SUSE Manager Server 4.0 cups versions prior to 2.2.7. SUSE OpenStack Cloud Crowbar 9 cups versions prior to 1.7.5. openSUSE Leap 15.2 cups versions prior to 2.2.7. openSUSE Factory cups version 2.3.3op2-2.1 and prior versions.","state":"PUBLIC","assigner":"security@suse.com","published_at":"2021-05-05 10:15:00","updated_at":"2023-11-07 03:31:00"},"problem_types":["CWE-276"],"metrics":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1184161","name":"https://bugzilla.suse.com/show_bug.cgi?id=1184161","refsource":"CONFIRM","tags":[],"title":"Bug 1184161 – VUL-0: CVE-2021-25317: cups: ownership of /var/log/cups could allow privilege escalation from lp user to root via symlink attacks","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H74BP746O5NNVCBUTLLZYAFBPESFVECV/","name":"FEDORA-2021-dc578ce534","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: cups-2.3.3op2-5.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/H74BP746O5NNVCBUTLLZYAFBPESFVECV/","name":"FEDORA-2021-dc578ce534","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: cups-2.3.3op2-5.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/GWPGZLT3U776Q5YPPSA6LGFWWBDWBVH3/","name":"FEDORA-2021-be95e017e7","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: cups-2.3.3op2-5.fc32 - 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/S37IDQGHTORQ3Z6VRDQIGBYVOI27YG47/","name":"FEDORA-2021-7b698513d5","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: cups-2.3.3op2-5.fc33 - 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/GWPGZLT3U776Q5YPPSA6LGFWWBDWBVH3/","name":"FEDORA-2021-be95e017e7","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: cups-2.3.3op2-5.fc32 - 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/S37IDQGHTORQ3Z6VRDQIGBYVOI27YG47/","name":"FEDORA-2021-7b698513d5","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: cups-2.3.3op2-5.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-25317","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25317","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Matthias Gerstner of SUSE","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"25317","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","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":"25317","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":"25317","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"opensuse","cpe5":"factory","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"suse","cpe5":"cups","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"1","versionEndIncluding":"2.3.3op2-2.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"suse","cpe5":"cups","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"1","versionEndIncluding":"2.3.3op2-2.1:","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"suse","cpe5":"cups","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"suse","cpe5":"linux_enterprise_server","cpe6":"11","cpe7":"sp4","cpe8":"*","cpe9":"*","cpe10":"ltss","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"suse","cpe5":"manager_server","cpe6":"4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"25317","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"suse","cpe5":"openstack_cloud_crowbar","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-25317","qid":"174968","title":"SUSE Enterprise Linux Security Update for cups (SUSE-SU-2021:1453-1)"},{"cve":"CVE-2021-25317","qid":"174969","title":"SUSE Enterprise Linux Security Update for cups (SUSE-SU-2021:1454-1)"},{"cve":"CVE-2021-25317","qid":"281230","title":"Fedora Security Update for cups (FEDORA-2021-be95e017e7)"},{"cve":"CVE-2021-25317","qid":"281231","title":"Fedora Security Update for cups (FEDORA-2021-7b698513d5)"},{"cve":"CVE-2021-25317","qid":"281232","title":"Fedora Security Update for cups (FEDORA-2021-dc578ce534)"},{"cve":"CVE-2021-25317","qid":"670480","title":"EulerOS Security Update for cups (EulerOS-SA-2021-2238)"},{"cve":"CVE-2021-25317","qid":"670506","title":"EulerOS Security Update for cups (EulerOS-SA-2021-2264)"},{"cve":"CVE-2021-25317","qid":"670531","title":"EulerOS Security Update for cups (EulerOS-SA-2021-2289)"},{"cve":"CVE-2021-25317","qid":"670566","title":"EulerOS Security Update for cups (EulerOS-SA-2021-2324)"},{"cve":"CVE-2021-25317","qid":"670605","title":"EulerOS Security Update for cups (EulerOS-SA-2021-2363)"},{"cve":"CVE-2021-25317","qid":"750244","title":"OpenSUSE Security Update for cups (openSUSE-SU-2021:0638-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@suse.com","DATE_PUBLIC":"2021-04-30T00:00:00.000Z","ID":"CVE-2021-25317","STATE":"PUBLIC","TITLE":"cups: ownership of /var/log/cups allows the lp user to create files as root"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"SUSE Linux Enterprise Server 11-SP4-LTSS","version":{"version_data":[{"version_affected":"<","version_name":"cups","version_value":"1.3.9"}]}},{"product_name":"SUSE Manager Server 4.0","version":{"version_data":[{"version_affected":"<","version_name":"cups","version_value":"2.2.7"}]}},{"product_name":"SUSE OpenStack Cloud Crowbar 9","version":{"version_data":[{"version_affected":"<","version_name":"cups","version_value":"1.7.5"}]}}]},"vendor_name":"SUSE"},{"product":{"product_data":[{"product_name":"openSUSE Leap 15.2","version":{"version_data":[{"version_affected":"<","version_name":"cups","version_value":"2.2.7"}]}},{"product_name":"Factory","version":{"version_data":[{"version_affected":"<=","version_name":"cups","version_value":"2.3.3op2-2.1"}]}}]},"vendor_name":"openSUSE"}]}},"credit":[{"lang":"eng","value":"Matthias Gerstner of SUSE"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A Incorrect Default Permissions vulnerability in the packaging of cups of SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Manager Server 4.0, SUSE OpenStack Cloud Crowbar 9; openSUSE Leap 15.2, Factory allows local attackers with control of the lp users to create files as root with 0644 permissions without the ability to set the content. This issue affects: SUSE Linux Enterprise Server 11-SP4-LTSS cups versions prior to 1.3.9. SUSE Manager Server 4.0 cups versions prior to 2.2.7. SUSE OpenStack Cloud Crowbar 9 cups versions prior to 1.7.5. openSUSE Leap 15.2 cups versions prior to 2.2.7. openSUSE Factory cups version 2.3.3op2-2.1 and prior versions."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-276: Incorrect Default Permissions"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1184161","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1184161"},{"name":"FEDORA-2021-dc578ce534","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H74BP746O5NNVCBUTLLZYAFBPESFVECV/"},{"name":"FEDORA-2021-7b698513d5","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S37IDQGHTORQ3Z6VRDQIGBYVOI27YG47/"},{"name":"FEDORA-2021-be95e017e7","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWPGZLT3U776Q5YPPSA6LGFWWBDWBVH3/"}]},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1184161","defect":["1184161"],"discovery":"INTERNAL"}},"nvd":{"publishedDate":"2021-05-05 10:15:00","lastModifiedDate":"2023-11-07 03:31:00","problem_types":["CWE-276"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW"},"exploitabilityScore":1.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:suse:cups:*:*:*:*:*:*:*:*","versionEndExcluding":"1.3.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:suse:linux_enterprise_server:11:sp4:*:*:ltss:*:*:*","cpe_name":[]}]}],"cpe_match":[]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:suse:cups:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.7","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:a:suse:manager_server:4.0:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]},{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:suse:cups:*:*:*:*:*:*:*:*","versionEndExcluding":"1.7.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:a:suse:openstack_cloud_crowbar:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]},{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:suse:cups:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.7","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]},{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:suse:cups:*:*:*:*:*:*:*:*","versionEndIncluding":"2.3.3op2-2.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:a:opensuse:factory:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"25317","Ordinal":"200114","Title":"CVE-2021-25317","CVE":"CVE-2021-25317","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"25317","Ordinal":"1","NoteData":"A Incorrect Default Permissions vulnerability in the packaging of cups of SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Manager Server 4.0, SUSE OpenStack Cloud Crowbar 9; openSUSE Leap 15.2, Factory allows local attackers with control of the lp users to create files as root with 0644 permissions without the ability to set the content. This issue affects: SUSE Linux Enterprise Server 11-SP4-LTSS cups versions prior to 1.3.9. SUSE Manager Server 4.0 cups versions prior to 2.2.7. SUSE OpenStack Cloud Crowbar 9 cups versions prior to 1.7.5. openSUSE Leap 15.2 cups versions prior to 2.2.7. openSUSE Factory cups version 2.3.3op2-2.1 and prior versions.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"25317","Ordinal":"2","NoteData":"2021-05-05","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"25317","Ordinal":"3","NoteData":"2021-05-14","Type":"Other","Title":"Modified"}]}}}