{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2015-8325 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2015-8325 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 1 May 2016. 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-2015-8325 and fix it if it is affected.\n\nWhat it is: CVE-2015-8325 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 1 May 2016. 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-2015-8325 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu 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-2015-8325/ (Markdown: https://insights.sbomify.com/CVE-2015-8325/index.md)","id":"CVE-2015-8325","markdown":"https://insights.sbomify.com/CVE-2015-8325/index.md","name":"CVE-2015-8325","record":{"aliases":["ALPINE-CVE-2015-8325","DEBIAN-CVE-2015-8325","DSA-3550-1","GHSA-729x-x825-x8jf","RHSA-2016:2588","RHSA-2017:0641","UBUNTU-CVE-2015-8325"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"OpenSSH server","requires_auth":"low_privilege","summary":"Local attackers can gain privileges via environment manipulation in OpenSSH when UseLogin and PAM are configured, requiring a patch.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_core","vendor":"canonical"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"ubuntu_touch","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"openssh","vendor":"openbsd"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-264","name":null},{"id":"CWE-1262","name":"Improper Access Control for Register Interface"}],"description":"The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read .pam_environment files in user home directories, allows local users to gain privileges by triggering a crafted environment for the /bin/login program, as demonstrated by an LD_PRELOAD environment variable.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","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":"Privilege escalation in n/a","id":"CVE-2015-8325","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","openbsd:openssh"],"type":"privilege_escalation","year":"2015"},"n_packages":64,"n_references":12,"next":{"headline":"Path traversal in n/a","id":"CVE-2015-8326"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-ldap","purl":"pkg:rpm/redhat/openssh-ldap","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:0.9.3-122.el6"],"introduced":["0"],"last_affected":[],"package":"pam_ssh_agent_auth","purl":"pkg:rpm/redhat/pam_ssh_agent_auth","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-ldap","purl":"pkg:rpm/redhat/openssh-ldap","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:0.9.3-122.el6"],"introduced":["0"],"last_affected":[],"package":"pam_ssh_agent_auth","purl":"pkg:rpm/redhat/pam_ssh_agent_auth","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-ldap","purl":"pkg:rpm/redhat/openssh-ldap","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:0.9.3-122.el6"],"introduced":["0"],"last_affected":[],"package":"pam_ssh_agent_auth","purl":"pkg:rpm/redhat/pam_ssh_agent_auth","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-ldap","purl":"pkg:rpm/redhat/openssh-ldap","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:5.3p1-122.el6"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:0.9.3-122.el6"],"introduced":["0"],"last_affected":[],"package":"pam_ssh_agent_auth","purl":"pkg:rpm/redhat/pam_ssh_agent_auth","source":"RHSA-2017:0641"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-keycat","purl":"pkg:rpm/redhat/openssh-keycat","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-ldap","purl":"pkg:rpm/redhat/openssh-ldap","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-server-sysvinit","purl":"pkg:rpm/redhat/openssh-server-sysvinit","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.9.3-9.31.el7"],"introduced":["0"],"last_affected":[],"package":"pam_ssh_agent_auth","purl":"pkg:rpm/redhat/pam_ssh_agent_auth","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2016:2588"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:6.6.1p1-31.el7"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2016:2588"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2015-8324"},"products":["n/a"],"published":"2016-05-01","related":[{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-1575","kev_date_added":null,"published":"2016-05-02"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-1576","kev_date_added":null,"published":"2016-05-02"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-22","vendors":["n/a"]},"summary":"Local attackers can gain privileges via environment manipulation in OpenSSH when UseLogin and PAM are configured, requiring a patch.","url":"https://insights.sbomify.com/CVE-2015-8325/"}