{"id":"ALPINE-CVE-2022-27239","details":"In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.","modified":"2025-12-03T22:50:11.892905Z","published":"2022-04-27T14:15:09.203Z","upstream":["CVE-2022-27239"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-27239"}],"affected":[{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/cifs-utils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15-r0"}]}],"versions":["4.9-r0","5.3-r0","5.4-r0","5.6-r0","5.7-r0","5.8-r0","5.9-r0","6.0-r0","6.1-r0","6.10-r0","6.10-r1","6.11-r0","6.11-r1","6.12-r0","6.13-r0","6.14-r0","6.2-r0","6.2-r1","6.3-r0","6.4-r0","6.4-r1","6.4-r2","6.5-r0","6.6-r0","6.7-r0","6.7-r1","6.8-r0","6.9-r0","6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-27239.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}