Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps.
Workaround:
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://www.cve.org/CVERecord?id=CVE-2024-11003 | issue tracking vdb entry |
https://github.com/liske/needrestart/commit/0f80a348883f72279a859ee655f58da34babefb0 | patch |
https://www.qualys.com/2024/11/19/needrestart/needrestart.txt | third party advisory |
https://www.cve.org/CVERecord?id=CVE-2024-10224 | issue tracking vdb entry |
https://www.openwall.com/lists/oss-security/2024/11/19/1 | mailing list |