Bug 2056061 (CVE-2021-44730) - CVE-2021-44730 snapd: Hardlink attack in snap-confine's sc_open_snapd_tool()
Summary: CVE-2021-44730 snapd: Hardlink attack in snap-confine's sc_open_snapd_tool()
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-44730
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2056062 2056063
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-18 16:42 UTC by Mauro Matteo Cascella
Modified: 2022-03-02 20:50 UTC (History)
4 users (show)

Fixed In Version: snapd 2.54.3
Doc Type: If docs needed, set a value
Doc Text:
A hardlink attack in the snap-confine component (sc_open_snapd_tool) of snapd was found by Qualys. This flaw is exploitable in a non-default configuration only (when the kernel's fs.protected_hardlinks is 0) and could lead to local privilege escalation from any user to root.
Clone Of:
Environment:
Last Closed: 2022-03-02 20:50:58 UTC


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-02-18 16:42:22 UTC
A hardlink attack in the snap-confine component (sc_open_snapd_tool) of snapd was found by Qualys. This flaw is exploitable in a non-default configuration only (when the kernel's fs.protected_hardlinks is 0) and could lead to local privilege escalation from any user to root.

Qualys security advisory:
https://www.qualys.com/2022/02/17/cve-2021-44731/oh-snap-more-lemmings.txt

Comment 1 Mauro Matteo Cascella 2022-02-18 16:42:42 UTC
Created snapd tracking bugs for this issue:

Affects: epel-all [bug 2056062]
Affects: fedora-all [bug 2056063]

Comment 2 Product Security DevOps Team 2022-03-02 20:50:56 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.