CVE-2021-4120
CVSS V2 Medium 4.6
CVSS V3 High 7.8
Description
snapd 2.54.2 fails to perform sufficient validation of snap content interface and layout paths, resulting in the ability for snaps to inject arbitrary AppArmor policy rules via malformed content interface and layout declarations and hence escape strict snap confinement. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1
Overview
- CVE ID
- CVE-2021-4120
- Assigner
- security@ubuntu.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-02-17T23:15:07
- Last Modified Date
- 2022-03-01T17:07:06
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* | 1 | OR | 2.54.2 | |
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.6
- Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://ubuntu.com/security/notices/USN-5292-1 | Patch Vendor Advisory |
https://bugs.launchpad.net/snapd/+bug/1949368 | Exploit Issue Tracking Third Party Advisory |
http://www.openwall.com/lists/oss-security/2022/02/18/2 | Exploit Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XCGHG6LJAVJJ72TMART6A7N4Z6MSTGI7/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QTBN7LLZISXIA4KU4UKDR27Q5PXDS2U/ | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-4120 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4120 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:47:57 | Added to TrackCVE | |||
2022-12-06 10:05:00 | 2022-02-17T23:15Z | 2022-02-17T23:15:07 | CVE Published Date | updated |
2022-12-06 10:05:00 | 2022-03-01T17:07:06 | CVE Modified Date | updated | |
2022-12-06 10:05:00 | Analyzed | Vulnerability Status | updated |