{"id":"CVE-2024-48992","aliases":["CVE-2024-48992"],"related":[],"kind":"vulnerability","state":"published","title":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart in…","summary":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.","source":"cvelist"},{"lang":"es","text":"Qualys descubrió que needrestart, antes de la versión 3.8, permite a atacantes locales ejecutar código arbitrario como superusuario engañando a needrestart para que ejecute el intérprete de Ruby con una variable de entorno RUBYLIB controlada por el atacante.","source":"nvd"}],"published":"2024-11-19T17:38:22.267Z","modified":"2026-06-17T07:59:12.013Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-427"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.8","status":"affected"}],"vendor":"needrestart","product":"needrestart","package":"needrestart","repo":"https://github.com/liske/needrestart","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.8","status":"affected"}],"vendor":"needrestart_project","product":"needrestart","cpe":"cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.8"}],"vendor":"needrestart_project","product":"needrestart","cpe":"cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2024-48992","tags":["issue-tracking","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/19/1","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["Qualys","Thomas Liske","Mark Esler"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-19T19:31:29.009Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48992","url":"https://www.cve.org/CVERecord?id=CVE-2024-48992","licence":"CVE Terms of Use","modified":"2025-11-03T22:22:13.836Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48992","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48992","licence":"Public domain","modified":"2026-06-17T07:59:12.013Z"}],"updatedAt":"2026-11-25T22:58:48.774Z","epss":{"score":0.07955,"percentile":0.94876,"date":"2026-12-02T12:00:21.000Z"}}