{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1121 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-1121 is a low-severity vulnerability in [UNKNOWN] procps-ng, procps, published on 13 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-1121 and fix it if it is affected.\n\nWhat it is: CVE-2018-1121 is a low-severity vulnerability in [UNKNOWN] procps-ng, procps, published on 13 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-1121 in the wild and no public exploit code.\n\nAffected product: [UNKNOWN] procps-ng, procps. 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-2018-1121/ (Markdown: https://insights.sbomify.com/CVE-2018-1121/index.md)","id":"CVE-2018-1121","markdown":"https://insights.sbomify.com/CVE-2018-1121/index.md","name":"CVE-2018-1121","record":{"aliases":["DEBIAN-CVE-2018-1121","GHSA-2r59-6pxx-3wqv","ROOT-OS-DEBIAN-12-CVE-2018-1121","ROOT-OS-DEBIAN-13-CVE-2018-1121","ROOT-OS-UBUNTU-2204-CVE-2018-1121","ROOT-OS-UBUNTU-2404-CVE-2018-1121","UBUNTU-CVE-2018-1121"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux process utilities","requires_auth":"low_privilege","summary":"An unprivileged attacker can hide processes from system monitoring tools by exploiting a race condition in procps-ng utilities.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"procps","vendor":"procps_project"}],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"procps-ng, procps is vulnerable to a process hiding through race condition. Since the kernel's proc_pid_readdir() returns PID entries in ascending numeric order, a process occupying a high PID can use inotify events to determine when the process list is being scanned, and fork/exec to obtain a lower PID, thus avoiding enumeration. An unprivileged attacker can hide a process from procps-ng's utilities by exploiting a race condition in reading /proc/PID entries. This vulnerability affects procps and procps-ng up to version 3.3.15, newer versions might be affected also.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2018-05-30","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-05-30","kind":"exploitdb","ref":"44806","stars":null,"title":"Procps-ng - Multiple Vulnerabilities"},{"date":"2018-05-30","kind":"exploitdb","ref":"44806","stars":null,"title":"Procps-ng - Multiple Vulnerabilities"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Race condition in procps-ng, procps","id":"CVE-2018-1121","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2018"},"n_packages":0,"n_references":5,"next":{"headline":"Privilege escalation in procps-ng, procps","id":"CVE-2018-1122"},"packages":[],"prev":{"headline":"Denial of service in kernel","id":"CVE-2018-1120"},"products":["procps-ng, procps"],"published":"2018-06-13","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["[UNKNOWN]"]},"summary":"An unprivileged attacker can hide processes from system monitoring tools by exploiting a race condition in procps-ng utilities.","url":"https://insights.sbomify.com/CVE-2018-1121/"}