{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2011-3628 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2011-3628 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 15 Apr 2014. 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-2011-3628 and fix it if it is affected.\n\nWhat it is: CVE-2011-3628 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 15 Apr 2014. 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-2011-3628 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-2011-3628/ (Markdown: https://insights.sbomify.com/CVE-2011-3628/index.md)","id":"CVE-2011-3628","markdown":"https://insights.sbomify.com/CVE-2011-3628/index.md","name":"CVE-2011-3628","record":{"aliases":["DEBIAN-CVE-2011-3628","GHSA-9hgw-rg97-xh38"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Ubuntu PAM module","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges by manipulating the PATH environment variable in specific PAM configurations.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libpam-modules","vendor":"canonical"},{"product":"ubuntu_linux","vendor":"canonical"}],"cvss":{"score":6.9,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Untrusted search path vulnerability in pam_motd (aka the MOTD module) in libpam-modules before 1.1.3-2ubuntu2.1 on Ubuntu 11.10, before 1.1.2-2ubuntu8.4 on Ubuntu 11.04, before 1.1.1-4ubuntu2.4 on Ubuntu 10.10, before 1.1.1-2ubuntu5.4 on Ubuntu 10.04 LTS, and before 0.99.7.1-5ubuntu6.5 on Ubuntu 8.04 LTS, when using certain configurations such as \"session optional pam_motd.so\", allows local users to gain privileges by modifying the PATH environment variable to reference a malicious command, as demonstrated via uname.","ecosystems":[],"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-2011-3628","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux"],"type":"privilege_escalation","year":"2011"},"n_packages":0,"n_references":2,"next":{"headline":"Weak cryptography in Joomla! core","id":"CVE-2011-3629"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2011-3627"},"products":["n/a"],"published":"2014-04-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can escalate privileges by manipulating the PATH environment variable in specific PAM configurations.","url":"https://insights.sbomify.com/CVE-2011-3628/"}