{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2017-15131 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-15131 is a high-severity vulnerability in Redhat Enterprise Linux, published on 9 Jan 2018. 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-2017-15131 and fix it if it is affected.\n\nWhat it is: CVE-2017-15131 is a high-severity vulnerability in Redhat Enterprise Linux, published on 9 Jan 2018. 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-2017-15131 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. 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-2017-15131/ (Markdown: https://insights.sbomify.com/CVE-2017-15131/index.md)","id":"CVE-2017-15131","markdown":"https://insights.sbomify.com/CVE-2017-15131/index.md","name":"CVE-2017-15131","record":{"aliases":["DEBIAN-CVE-2017-15131","GHSA-q4r5-4gjj-jww9","MGASA-2018-0215","RHSA-2018:0842"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux user directories","requires_auth":"low_privilege","summary":"Attackers can read sensitive files in XDG user directories because the system umask policy is not applied during directory creation.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"xdg-user-dirs","vendor":"freedesktop"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"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":"Misconfiguration in RHEL shipped xdg-user-dirs and gnome-session","id":"CVE-2017-15131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"misconfiguration","year":"2017"},"n_packages":8,"n_references":3,"next":{"headline":"Denial of service in dovecot","id":"CVE-2017-15132"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs","purl":"pkg:rpm/redhat/xdg-user-dirs","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs-debuginfo","purl":"pkg:rpm/redhat/xdg-user-dirs-debuginfo","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs","purl":"pkg:rpm/redhat/xdg-user-dirs","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs-debuginfo","purl":"pkg:rpm/redhat/xdg-user-dirs-debuginfo","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs","purl":"pkg:rpm/redhat/xdg-user-dirs","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs-debuginfo","purl":"pkg:rpm/redhat/xdg-user-dirs-debuginfo","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs","purl":"pkg:rpm/redhat/xdg-user-dirs","source":"RHSA-2018:0842"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.15-5.el7"],"introduced":["0"],"last_affected":[],"package":"xdg-user-dirs-debuginfo","purl":"pkg:rpm/redhat/xdg-user-dirs-debuginfo","source":"RHSA-2018:0842"}],"prev":{"headline":"Denial of service in dovecot","id":"CVE-2017-15130"},"products":["RHEL shipped xdg-user-dirs and gnome-session"],"published":"2018-01-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Red Hat, Inc."]},"summary":"Attackers can read sensitive files in XDG user directories because the system umask policy is not applied during directory creation.","url":"https://insights.sbomify.com/CVE-2017-15131/"}