Amazon Linux AMI update for cifs-utils



Published: 2023-03-07
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-27239
CWE-ID CWE-121
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

cifs-utils
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU63956

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27239

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error when parsing the "mount.cifs ip=" command-line argument. A local user can pass specially crafted data to the command, trigger a stack-based buffer overflow and execute arbitrary code with root privileges.

Mitigation

Update the affected packages:

i686:
    cifs-utils-debuginfo-6.2-7.7.amzn1.i686
    cifs-utils-devel-6.2-7.7.amzn1.i686
    cifs-utils-6.2-7.7.amzn1.i686

src:
    cifs-utils-6.2-7.7.amzn1.src

x86_64:
    cifs-utils-6.2-7.7.amzn1.x86_64
    cifs-utils-debuginfo-6.2-7.7.amzn1.x86_64
    cifs-utils-devel-6.2-7.7.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

cifs-utils: before 6.2-7.7

External links

http://alas.aws.amazon.com/ALAS-2023-1698.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###