{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-25317 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-25317 is a low-severity vulnerability in Fedoraproject Fedora, published on 5 May 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-25317 and fix it if it is affected.\n\nWhat it is: CVE-2021-25317 is a low-severity vulnerability in Fedoraproject Fedora, published on 5 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-25317 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-25317/ (Markdown: https://insights.sbomify.com/CVE-2021-25317/index.md)","id":"CVE-2021-25317","markdown":"https://insights.sbomify.com/CVE-2021-25317/index.md","name":"CVE-2021-25317","record":{"aliases":["CLSA-2026-1787145903","GHSA-7qpc-9fjw-5c32","OESA-2021-1212","SUSE-SU-2021:1453-1","SUSE-SU-2021:1454-1","SUSE-SU-2021:14712-1","openSUSE-SU-2021:0638-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SUSE Linux CUPS","requires_auth":"low_privilege","summary":"Local attackers with lp user control can create files as root due to incorrect default permissions on the CUPS log directory.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"cups","vendor":"suse"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"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.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.0","SUSE:Manager Retail Branch Server 4.0","SUSE:Manager Server 4.0","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"cups: ownership of /var/log/cups allows the lp user to create files as root","id":"CVE-2021-25317","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"misconfiguration","year":"2021"},"n_packages":32,"n_references":4,"next":{"headline":"rancher: API group not properly specified when creating Kubernetes RBAC resources","id":"CVE-2021-25318"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["1.3.9-8.46.56.18.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2021:14712-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["1.3.9-8.46.56.18.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2021:14712-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:Manager Proxy 4.0","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Manager%20Proxy%204.0","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:Manager Server 4.0","fixed":["2.2.7-3.26.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20Manager%20Server%204.0","source":"SUSE-SU-2021:1454-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["1.7.5-20.36.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/suse/cups\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2021:1453-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["2.2.7-lp152.9.9.1"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/opensuse/cups\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0638-1"}],"prev":{"headline":"Local DoS of VM live migration due to use of static tmp files in detach_disks.sh in s390-tools","id":"CVE-2021-25316"},"products":["Factory","SUSE Linux Enterprise Server 11-SP4-LTSS","SUSE Manager Server 4.0","SUSE OpenStack Cloud Crowbar 9","openSUSE Leap 15.2"],"published":"2021-05-05","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["SUSE","openSUSE"]},"summary":"Local attackers with lp user control can create files as root due to incorrect default permissions on the CUPS log directory.","url":"https://insights.sbomify.com/CVE-2021-25317/"}