Bug 2087658 (CVE-2022-30688) - CVE-2022-30688 needrestart: local privilege escalation
Summary: CVE-2022-30688 needrestart: local privilege escalation
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-30688
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2087659 2087660 2087661 2087662
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 07:33 UTC by Sandipan Roy
Modified: 2022-05-18 11:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-18 11:15:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2022-05-18 07:33:51 UTC
needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart tries to detect if interpreters are using old source files.

https://www.openwall.com/lists/oss-security/2022/05/17/9
https://github.com/liske/needrestart/releases/tag/v3.6
https://lists.debian.org/debian-security-announce/2022/msg00105.html
https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
http://www.openwall.com/lists/oss-security/2022/05/17/9

Comment 1 Sandipan Roy 2022-05-18 07:35:17 UTC
Created needrestart tracking bugs for this issue:

Affects: epel-7 [bug 2087660]
Affects: epel-8 [bug 2087661]
Affects: fedora-34 [bug 2087662]
Affects: fedora-35 [bug 2087659]

Comment 2 Product Security DevOps Team 2022-05-18 11:15:06 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.