{"id":"CVE-2024-48992","sourceIdentifier":"security@ubuntu.com","published":"2024-11-19T18:15:21.897","lastModified":"2026-06-17T07:59:12.013","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security@ubuntu.com","affectedData":[{"vendor":"needrestart","product":"needrestart","packageName":"needrestart","platforms":["Linux"],"repo":"https://github.com/liske/needrestart","versions":[{"version":"0","lessThan":"3.8","versionType":"semver","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"needrestart_project","product":"needrestart","defaultStatus":"unknown","cpes":["cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"3.8","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-11-19T19:31:29.009180Z","id":"CVE-2024-48992","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-427"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*","versionEndExcluding":"3.8","matchCriteriaId":"C03A2810-FF65-4ECC-B74A-0C081E4EC149"}]}]}],"references":[{"url":"https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f","source":"security@ubuntu.com","tags":["Patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-48992","source":"security@ubuntu.com","tags":["VDB Entry"]},{"url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","source":"security@ubuntu.com","tags":["Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/17","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.openwall.com/lists/oss-security/2024/11/19/1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"]}]}