CVE-2022-41974
Reported by mitre · Published October 29, 2022
multipath-tools 0.7.0 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited alone or in conjunction with CVE-2022-41973. Local users able to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. This can lead to local privilege escalation to root. This occurs because an attacker can repeat a keyword, which is mishandled because arithmetic ADD is used instead of bitwise OR.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libdmmp | Amazon Linux | 0.8.7-16.amzn2023.0.2, 0.4.9-136.amzn2 |
| device-mapper-multipath-libs | Amazon Linux | 0.8.7-16.amzn2023.0.2 |
| kpartx | Amazon Linux | 0.8.7-16.amzn2023.0.2 |
| libdmmp-devel | Amazon Linux | 0.4.9-136.amzn2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | libdmmp | 0 |
| amazon:2023 | device-mapper-multipath-libs | 0 |
| amazon:2023 | kpartx | 0 |
| amazon:2 | libdmmp-devel | 0 |
| amazon:2 | libdmmp | 0 |
| n/a | n/a | * |
| amazon:2 | device-mapper-multipath | 0 |
| amazon:2 | device-mapper-multipath-libs | 0 |
| amazon:2 | device-mapper-multipath-sysvinit | 0 |
| amazon:2023 | libdmmp-devel | 0 |
| amazon:2 | device-mapper-multipath-devel | 0 |
| amazon:2023 | device-mapper-multipath-devel | 0 |
| amazon:2023 | device-mapper-multipath | 0 |
| amazon:2 | kpartx | 0 |
Timeline
- Oct 24, 2022 CVE Published
- Oct 30, 2022 EPSS Score (30 in total, the first dated here)
- Dec 10, 2022 PoC Published (2 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (8 in total, the first dated here)
- Mar 10, 2026 Security Advisory (10 in total, the first dated here)
- Jun 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-41974
vulnetix vdb fixes CVE-2022-41974
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-41974/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20221030 Authorization bypass and symlink attack in multipathd (CVE-2022-41974 and CVE-2022-41973) mailing-list
- FEDORA-2022-6ec78b2586 vendor-advisory
- [oss-security] 20221130 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328) mailing-list
- 20221208 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328) mailing-list
- [debian-lts-announce] 20221229 [SECURITY] [DLA 3250-1] multipath-tools security update mailing-list
- DSA-5366 vendor-advisory
- GLSA-202311-06 vendor-advisory