{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47191 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-47191 is a high-severity path traversal vulnerability in n/a, published on 9 Oct 2024. 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-2024-47191 and fix it if it is affected.\n\nWhat it is: CVE-2024-47191 is a high-severity path traversal vulnerability in n/a, published on 9 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47191 exists.\n\nAffected product: n/a. 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-2024-47191/ (Markdown: https://insights.sbomify.com/CVE-2024-47191/index.md)","id":"CVE-2024-47191","markdown":"https://insights.sbomify.com/CVE-2024-47191/index.md","name":"CVE-2024-47191","record":{"aliases":["AZL-50121","AZL-50124","DEBIAN-CVE-2024-47191","DSA-5784-1","GHSA-w8jp-q8g4-9f42","MGASA-2024-0335","RHSA-2025:3635","UBUNTU-CVE-2024-47191","USN-7059-1","USN-7059-2","openSUSE-SU-2024:14389-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux PAM module","requires_auth":"low_privilege","summary":"A path traversal vulnerability in the oath-toolkit PAM module allows local attackers to escalate privileges to root via symlink mishandling.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"pam_oath.so in oath-toolkit 2.6.7 through 2.6.11 before 2.6.12 allows root privilege escalation because, in the context of PAM code running as root, it mishandles usersfile access, such as by calling fchown in the presence of a symlink.","ecosystems":["Red Hat:ceph_storage:8.0::el9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2024-47191","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":69,"n_references":8,"next":{"headline":"Path traversal in n/a","id":"CVE-2024-47192"},"packages":[{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph","purl":"pkg:rpm/redhat/ceph","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-base","purl":"pkg:rpm/redhat/ceph-base","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-base-debuginfo","purl":"pkg:rpm/redhat/ceph-base-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-common","purl":"pkg:rpm/redhat/ceph-common","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-common-debuginfo","purl":"pkg:rpm/redhat/ceph-common-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-debuginfo","purl":"pkg:rpm/redhat/ceph-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-debugsource","purl":"pkg:rpm/redhat/ceph-debugsource","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-exporter-debuginfo","purl":"pkg:rpm/redhat/ceph-exporter-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-fuse","purl":"pkg:rpm/redhat/ceph-fuse","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-fuse-debuginfo","purl":"pkg:rpm/redhat/ceph-fuse-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-immutable-object-cache","purl":"pkg:rpm/redhat/ceph-immutable-object-cache","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-immutable-object-cache-debuginfo","purl":"pkg:rpm/redhat/ceph-immutable-object-cache-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-mds-debuginfo","purl":"pkg:rpm/redhat/ceph-mds-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-mgr-debuginfo","purl":"pkg:rpm/redhat/ceph-mgr-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-mib","purl":"pkg:rpm/redhat/ceph-mib","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-mon-client-nvmeof-debuginfo","purl":"pkg:rpm/redhat/ceph-mon-client-nvmeof-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-mon-debuginfo","purl":"pkg:rpm/redhat/ceph-mon-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-osd-debuginfo","purl":"pkg:rpm/redhat/ceph-osd-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-radosgw-debuginfo","purl":"pkg:rpm/redhat/ceph-radosgw-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-resource-agents","purl":"pkg:rpm/redhat/ceph-resource-agents","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-selinux","purl":"pkg:rpm/redhat/ceph-selinux","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"ceph-test-debuginfo","purl":"pkg:rpm/redhat/ceph-test-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"cephadm","purl":"pkg:rpm/redhat/cephadm","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"cephfs-mirror-debuginfo","purl":"pkg:rpm/redhat/cephfs-mirror-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"cephfs-top","purl":"pkg:rpm/redhat/cephfs-top","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs-daemon-debuginfo","purl":"pkg:rpm/redhat/libcephfs-daemon-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs-devel","purl":"pkg:rpm/redhat/libcephfs-devel","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs-proxy2","purl":"pkg:rpm/redhat/libcephfs-proxy2","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs-proxy2-debuginfo","purl":"pkg:rpm/redhat/libcephfs-proxy2-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs2","purl":"pkg:rpm/redhat/libcephfs2","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephfs2-debuginfo","purl":"pkg:rpm/redhat/libcephfs2-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libcephsqlite-debuginfo","purl":"pkg:rpm/redhat/libcephsqlite-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["0:2.6.12-1.el9cp"],"introduced":["0"],"last_affected":[],"package":"liboath","purl":"pkg:rpm/redhat/liboath","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["0:2.6.12-1.el9cp"],"introduced":["0"],"last_affected":[],"package":"liboath-debuginfo","purl":"pkg:rpm/redhat/liboath-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["0:2.6.12-1.el9cp"],"introduced":["0"],"last_affected":[],"package":"libpskc-debuginfo","purl":"pkg:rpm/redhat/libpskc-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"librados-devel","purl":"pkg:rpm/redhat/librados-devel","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"librados-devel-debuginfo","purl":"pkg:rpm/redhat/librados-devel-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"librados2","purl":"pkg:rpm/redhat/librados2","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"librados2-debuginfo","purl":"pkg:rpm/redhat/librados2-debuginfo","source":"RHSA-2025:3635"},{"ecosystem":"Red Hat:ceph_storage:8.0::el9","fixed":["2:19.2.0-124.el9cp"],"introduced":["0"],"last_affected":[],"package":"libradospp-devel","purl":"pkg:rpm/redhat/libradospp-devel","source":"RHSA-2025:3635"}],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2024-47190"},"products":["n/a"],"published":"2024-10-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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-18","vendors":["n/a"]},"summary":"A path traversal vulnerability in the oath-toolkit PAM module allows local attackers to escalate privileges to root via symlink mishandling.","url":"https://insights.sbomify.com/CVE-2024-47191/"}